Buffer overflow in Hardened-Php Suhosin
CVE-2012-0807
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.1 (Medium). Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.035, 89.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hardened-Php Suhosin — versions 0.9.0, 0.9.1, 0.9.2
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi
- [oss-security] 20120124 Re: CVE requests: Suhosin extension / as31 (mailing-list)
- SUSE-SU-2012:0411 (vendor-advisory)
- openSUSE-SU-2012:0426 (vendor-advisory)
- [oss-security] 20120124 CVE requests: Suhosin extension / as31 (mailing-list)
- SUSE-SU-2012:0472 (vendor-advisory)
- secunia.com/advisories/48668 (third-party-advisory)
- 20120119 Advisory 01/2012: Suhosin PHP Extension Transparent Cookie Encryption Stack Buffer Overflow (mailing-list, Exploit)
- github.com/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa (Exploit, Patch)