Information disclosure in PHP - CVE-2012-6113

 

Information disclosure in PHP - CVE-2012-6113

Published: January 19, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU43164
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-6113
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

The openssl_encrypt function in ext/openssl/openssl.c in PHP 5.3.9 through 5.3.13 does not initialize a certain variable, which allows remote attackers to obtain sensitive information from process memory by providing zero bytes of input data.


Affected software

PHP
Ubuntu
php5 (Ubuntu package)

How to mitigate CVE-2012-6113

Install update from vendor's website.

php5 (Ubuntu package) - update to 5.3.10-1ubuntu3.5

External References

Related Security Bulletins