Stack-based buffer overflow in PHP - CVE-2011-1938
Published: May 31, 2011 / Updated: August 11, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing a long pathname for a UNIX socket. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Slackware Linux
dev-lang/php
php
How to mitigate CVE-2011-1938
php - update to 5.3.8
Links to Public Exploits and PoC-codes
External References
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://openwall.com/lists/oss-security/2011/05/24/1
- http://openwall.com/lists/oss-security/2011/05/24/9
- http://osvdb.org/72644
- http://securityreason.com/securityalert/8262
- http://securityreason.com/securityalert/8294
- http://support.apple.com/kb/HT5130
- http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369
- http://svn.php.net/viewvc?view=revision&revision=311369
- http://www.debian.org/security/2012/dsa-2399
- http://www.exploit-db.com/exploits/17318/
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.php.net/archive/2011.php#id2011-08-18-1
- http://www.php.net/ChangeLog-5.php#5.3.7
- http://www.redhat.com/support/errata/RHSA-2011-1423.html
- http://www.securityfocus.com/bid/49241
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67606