Risk | Critical |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2012-2688 |
CWE-ID | CWE-122 |
Exploitation vector | Network |
Public exploit | This vulnerability is being exploited in the wild. |
Vulnerable software |
Amazon Linux AMI Operating systems & Components / Operating system |
Vendor | Amazon Web Services |
Security Bulletin
This security bulletin contains one critical risk vulnerability.
EUVDB-ID: #VU4197
Risk: Critical
CVSSv4.0: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red]
CVE-ID: CVE-2012-2688
CWE-ID:
CWE-122 - Heap-based Buffer Overflow
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to cause DoS conditions or execute arbitrary code on the target system.
The weakness exists due to heap-based buffer underflow in the PHP scandir() function. A remote attacker can create specially crafted files, upload them to a directory the scandir() function runs on and cause the PHP interpreter to crash or execute arbitrary code with privileges of the web server.
Successful exploitation of the vulnerability results in denial of service or arbitrary code execution on the vulnerable system.
Note: the vulnerability was being actively exploited.
Update the affected packages.
i686:Vulnerable software versions
php-cli-5.3.15-1.22.amzn1.i686
php-fpm-5.3.15-1.22.amzn1.i686
php-mysqlnd-5.3.15-1.22.amzn1.i686
php-pgsql-5.3.15-1.22.amzn1.i686
php-debuginfo-5.3.15-1.22.amzn1.i686
php-tidy-5.3.15-1.22.amzn1.i686
php-xml-5.3.15-1.22.amzn1.i686
php-imap-5.3.15-1.22.amzn1.i686
php-xmlrpc-5.3.15-1.22.amzn1.i686
php-5.3.15-1.22.amzn1.i686
php-recode-5.3.15-1.22.amzn1.i686
php-mysql-5.3.15-1.22.amzn1.i686
php-devel-5.3.15-1.22.amzn1.i686
php-intl-5.3.15-1.22.amzn1.i686
php-ldap-5.3.15-1.22.amzn1.i686
php-mssql-5.3.15-1.22.amzn1.i686
php-pdo-5.3.15-1.22.amzn1.i686
php-gd-5.3.15-1.22.amzn1.i686
php-snmp-5.3.15-1.22.amzn1.i686
php-pspell-5.3.15-1.22.amzn1.i686
php-soap-5.3.15-1.22.amzn1.i686
php-bcmath-5.3.15-1.22.amzn1.i686
php-mcrypt-5.3.15-1.22.amzn1.i686
php-odbc-5.3.15-1.22.amzn1.i686
php-embedded-5.3.15-1.22.amzn1.i686
php-mbstring-5.3.15-1.22.amzn1.i686
php-common-5.3.15-1.22.amzn1.i686
php-process-5.3.15-1.22.amzn1.i686
php-dba-5.3.15-1.22.amzn1.i686
src:
php-5.3.15-1.22.amzn1.src
x86_64:
php-devel-5.3.15-1.22.amzn1.x86_64
php-mcrypt-5.3.15-1.22.amzn1.x86_64
php-odbc-5.3.15-1.22.amzn1.x86_64
php-mbstring-5.3.15-1.22.amzn1.x86_64
php-mysql-5.3.15-1.22.amzn1.x86_64
php-mysqlnd-5.3.15-1.22.amzn1.x86_64
php-recode-5.3.15-1.22.amzn1.x86_64
php-ldap-5.3.15-1.22.amzn1.x86_64
php-bcmath-5.3.15-1.22.amzn1.x86_64
php-xml-5.3.15-1.22.amzn1.x86_64
php-pspell-5.3.15-1.22.amzn1.x86_64
php-imap-5.3.15-1.22.amzn1.x86_64
php-fpm-5.3.15-1.22.amzn1.x86_64
php-pgsql-5.3.15-1.22.amzn1.x86_64
php-intl-5.3.15-1.22.amzn1.x86_64
php-snmp-5.3.15-1.22.amzn1.x86_64
php-embedded-5.3.15-1.22.amzn1.x86_64
php-xmlrpc-5.3.15-1.22.amzn1.x86_64
php-soap-5.3.15-1.22.amzn1.x86_64
php-common-5.3.15-1.22.amzn1.x86_64
php-debuginfo-5.3.15-1.22.amzn1.x86_64
php-tidy-5.3.15-1.22.amzn1.x86_64
php-gd-5.3.15-1.22.amzn1.x86_64
php-pdo-5.3.15-1.22.amzn1.x86_64
php-cli-5.3.15-1.22.amzn1.x86_64
php-process-5.3.15-1.22.amzn1.x86_64
php-mssql-5.3.15-1.22.amzn1.x86_64
php-dba-5.3.15-1.22.amzn1.x86_64
php-5.3.15-1.22.amzn1.x86_64
Amazon Linux AMI: All versions
CPE2.3 External linkshttps://alas.aws.amazon.com/ALAS-2012-116.html
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.