PHP up to 5.3.13 openssl_encrypt certain information disclosure
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Information disclosureCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 270a406ac94b5fc5cc9ef59fc61e3b4b95648a3e
Timeline
12/06/2012 🔍01/15/2013 🔍
01/15/2013 🔍
01/19/2013 🔍
01/19/2013 🔍
01/23/2013 🔍
01/30/2013 🔍
03/24/2015 🔍
12/21/2021 🔍
Sources
Product: php.orgAdvisory: 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
Entry
Created: 03/24/2015 12:22Updated: 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.
No comments yet. Languages: en.
Please log in to comment.