PHP crypt_freesec.c Eingabe cryptographic issue

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.
8.2$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.1
VulDB Meta Temp Score: 8.2

VulDB Base Score: 9.1
VulDB Temp Score: 8.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Cryptographic issue
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: git.php.net

Timelineinfo

04/04/2012 🔍
04/30/2012 +26 days 🔍
05/30/2012 +30 days 🔍
05/30/2012 +0 days 🔍
05/30/2012 +0 days 🔍
05/30/2012 +0 days 🔍
05/31/2012 +1 days 🔍
06/05/2012 +5 days 🔍
06/06/2012 +1 days 🔍
07/05/2012 +29 days 🔍
07/08/2012 +3 days 🔍
06/13/2014 +705 days 🔍
03/25/2021 +2477 days 🔍

Sourcesinfo

Product: php.org

Advisory: 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: 🔍

Entryinfo

Created: 06/06/2012 15:44
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!