| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP. It has been rated as problematic. This vulnerability affects unknown code of the file crypt_freesec.c. Performing a manipulation with the input 0x80 as part of Eingabe results in cryptographic issue.
This vulnerability is identified as CVE-2012-2143. Additionally, an exploit exists.
It is suggested to install a patch to address this issue.
Details
A vulnerability classified as critical has been found in PHP (Programming Language Software) (version unknown). This affects an unknown function of the file crypt_freesec.c. The manipulation with the input value 0x80 leads to a cryptographic issue vulnerability. CWE is classifying the issue as CWE-310. This is going to have an impact on confidentiality, and integrity. The summary by CVE is:
The crypt_des (aka DES-based crypt) function in FreeBSD before 9.0-RELEASE-p2, as used in PHP, PostgreSQL, and other products, does not process the complete cleartext password if this password contains a 0x80 character, which makes it easier for context-dependent attackers to obtain access via an authentication attempt with an initial substring of the intended password, as demonstrated by a Unicode password.
The weakness was released 05/30/2012 by Rubin Xu, Joseph Bonneau and Donting Yu as FreeBSD-SA-12:02.crypt (Website). The advisory is shared at security.freebsd.org. This vulnerability is uniquely identified as CVE-2012-2143 since 04/04/2012. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1600 for this issue.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 74667 (openSUSE Security Update : php5 (openSUSE-SU-2012:0826-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350652 (Amazon Linux Security Advisory for php: ALAS-2012-095).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.php.net. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (75981), Tenable (74667), SecurityFocus (BID 53729†), OSVDB (82510†) and Secunia (SA49342†). Entries connected to this vulnerability are available at VDB-5477 and VDB-61220. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.1VulDB Meta Temp Score: 8.2
VulDB Base Score: 9.1
VulDB Temp Score: 8.2
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: Cryptographic issueCWE: CWE-310
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 74667
Nessus Name: openSUSE Security Update : php5 (openSUSE-SU-2012:0826-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 71469
OpenVAS Name: Debian Security Advisory DSA 2491-1 (postgresql-8.4)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: git.php.net
Timeline
04/04/2012 🔍04/30/2012 🔍
05/30/2012 🔍
05/30/2012 🔍
05/30/2012 🔍
05/30/2012 🔍
05/31/2012 🔍
06/05/2012 🔍
06/06/2012 🔍
07/05/2012 🔍
07/08/2012 🔍
06/13/2014 🔍
03/25/2021 🔍
Sources
Product: php.orgAdvisory: FreeBSD-SA-12:02.crypt
Researcher: Rubin Xu, Joseph Bonneau, Donting Yu
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-2143 (🔍)
GCVE (CVE): GCVE-0-2012-2143
GCVE (VulDB): GCVE-100-5481
OVAL: 🔍
X-Force: 75981
SecurityFocus: 53729 - libcrypt 'crypt()' Password Encryption Weakness
Secunia: 49342 - Check Point IPSO DES Encryption Input Handling Weakness, Not Critical
OSVDB: 82510
SecurityTracker: 1026995 - FreeBSD crypt(3) Hash Generation Error May Generate Incorrect Hashes
Vulnerability Center: 35479 - crypt_des Function in FreeBSD Allows to Obtain Access via an Authentication Attempt, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 06/06/2012 15:44Updated: 03/25/2021 09:21
Changes: 06/06/2012 15:44 (80), 04/14/2017 13:53 (12), 03/25/2021 09:21 (3)
Complete: 🔍
Cache ID: 216:83B:103
No comments yet. Languages: en.
Please log in to comment.