CVE-2012-0807
Hardened-php Suhosin vulnerability
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.
Affected products
Suhosin. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hardened-php Suhosin runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa · Exploit
- archives.neohapsis.com/archives/fulldisclosure/2012-01/0296.html · Exploit
- lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html
- secunia.com/advisories/48668
- www.openwall.com/lists/oss-security/2012/01/24/11
- www.openwall.com/lists/oss-security/2012/01/24/7
- nvd.nist.gov/vuln/detail/CVE-2012-0807
- cve.org/CVERecord?id=CVE-2012-0807
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.