PHP up to 5.3.13 openssl_encrypt certain information disclosure

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in PHP 5.3.9/5.3.10/5.3.11/5.3.12/5.3.13. This affects the function openssl_encrypt. This manipulation of the argument certain causes information disclosure. The identification of this vulnerability is CVE-2012-6113. There is no exploit available. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability classified as problematic was found in PHP 5.3.9/5.3.10/5.3.11/5.3.12/5.3.13 (Programming Language Software). Affected by this vulnerability is the function openssl_encrypt. The manipulation of the argument certain with an unknown input leads to a information disclosure vulnerability. The CWE definition for the vulnerability is CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. As an impact it is known to affect confidentiality. The summary by CVE is:

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.

The weakness was shared 01/19/2013 as confirmed git commit (GIT Repository). It is possible to read the advisory at git.php.net. This vulnerability is known as CVE-2012-6113 since 12/06/2012. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1592 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 63667 (Ubuntu 12.04 LTS : php5 vulnerability (USN-1702-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.php.net.

The vulnerability is also documented in the databases at X-Force (81400), Tenable (63667), SecurityFocus (BID 57462†) and Vulnerability Center (SBV-38200†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Information disclosure
CWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 63667
Nessus Name: Ubuntu 12.04 LTS : php5 vulnerability (USN-1702-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 803318
OpenVAS Name: PHP openssl_encrypt() Function Information Disclosure Vulnerability (Win)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 270a406ac94b5fc5cc9ef59fc61e3b4b95648a3e

Timelineinfo

12/06/2012 🔍
01/15/2013 +40 days 🔍
01/15/2013 +0 days 🔍
01/19/2013 +4 days 🔍
01/19/2013 +0 days 🔍
01/23/2013 +4 days 🔍
01/30/2013 +7 days 🔍
03/24/2015 +783 days 🔍
12/21/2021 +2464 days 🔍

Sourcesinfo

Product: php.org

Advisory: USN-1702-1
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-6113 (🔍)
GCVE (CVE): GCVE-0-2012-6113
GCVE (VulDB): GCVE-100-63379

OVAL: 🔍

X-Force: 81400
SecurityFocus: 57462 - PHP 'openssl_encrypt()' Function Information Disclosure Vulnerability
Vulnerability Center: 38200 - PHP Remote Leakage of Sensitive Information due to a Flaw in ext/openssl/openssl.c, Medium

Entryinfo

Created: 03/24/2015 12:22
Updated: 12/21/2021 18:30
Changes: 03/24/2015 12:22 (68), 04/24/2017 10:00 (5), 12/21/2021 18:24 (4), 12/21/2021 18:30 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!