Hardened-php suhosin up to 0.9.31 Encryption suhosin.cookie.encrypt suhosin_encrypt_single_cookie memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in Hardened-php suhosin. This affects the function suhosin_encrypt_single_cookie of the file suhosin.cookie.encrypt of the component Encryption. The manipulation results in memory corruption.
This vulnerability was named CVE-2012-0807. In addition, an exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability was found in Hardened-php suhosin (Programming Language Software). It has been classified as critical. Affected is the function suhosin_encrypt_single_cookie of the file suhosin.cookie.encrypt of the component Encryption. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
Stack-based buffer overflow in the suhosin_encrypt_single_cookie function in the transparent cookie-encryption feature in the Suhosin extension before 0.9.33 for PHP, when suhosin.cookie.encrypt and suhosin.multiheader are enabled, might allow remote attackers to execute arbitrary code via a long string that is used in a Set-Cookie HTTP header.
The weakness was presented 01/26/2012 by Stefan Esser (Website). The advisory is available at github.com. This vulnerability is traded as CVE-2012-0807 since 01/19/2012. The exploitability is told to be difficult. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.
The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 58890 (Mandriva Linux Security Advisory : php (MDVSA-2012:065)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165295 (SUSE Security Update for Update for php5 (openSUSE-SU-2012:0426-1)).
Upgrading to version 0.9.27 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (72465), Tenable (58890), SecurityFocus (BID 51574†), Secunia (SA48668†) and Vulnerability Center (SBV-35180†). See VDB-5701, VDB-56890, VDB-60175 and VDB-60174 for similar entries. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
- 0.9.0
- 0.9.1
- 0.9.2
- 0.9.3
- 0.9.4
- 0.9.5
- 0.9.6
- 0.9.6.1
- 0.9.6.2
- 0.9.6.3
- 0.9.7
- 0.9.8
- 0.9.9
- 0.9.9.1
- 0.9.10
- 0.9.11
- 0.9.12
- 0.9.13
- 0.9.14
- 0.9.15
- 0.9.16
- 0.9.17
- 0.9.18
- 0.9.19
- 0.9.20
- 0.9.21
- 0.9.22
- 0.9.23
- 0.9.24
- 0.9.25
- 0.9.26
- 0.9.27
- 0.9.28
- 0.9.29
- 0.9.30
- 0.9.31
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 58890
Nessus Name: Mandriva Linux Security Advisory : php (MDVSA-2012:065)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 831621
OpenVAS Name: Mandriva Update for php MDVSA-2012:065 (php)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: suhosin 0.9.27
Patch: github.com
Timeline
01/19/2012 🔍01/19/2012 🔍
01/19/2012 🔍
01/26/2012 🔍
01/26/2012 🔍
03/30/2012 🔍
05/28/2012 🔍
03/23/2015 🔍
11/29/2021 🔍
Sources
Advisory: 73b1968ee30f6d9d2dae497544b910e68e114bfaResearcher: Stefan Esser
Status: Not defined
Confirmation: 🔍
CVE: CVE-2012-0807 (🔍)
GCVE (CVE): GCVE-0-2012-0807
GCVE (VulDB): GCVE-100-60018
X-Force: 72465
SecurityFocus: 51574 - Suhosin Extension Transparent Cookie Encryption Stack Buffer Overflow Vulnerability
Secunia: 48668 - SUSE update for php5, Highly Critical
Vulnerability Center: 35180 - Suhosin extension before 0.9.33 for PHP Remote Arbitrary Code Execution Vulnerability, High
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/23/2015 16:50Updated: 11/29/2021 08:28
Changes: 03/23/2015 16:50 (66), 04/12/2017 21:43 (16), 11/29/2021 08:24 (4), 11/29/2021 08:28 (1)
Complete: 🔍
Cache ID: 216:03C:103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.