{"id":"CVE-2008-5844","sourceIdentifier":"cve@mitre.org","published":"2009-01-05T20:30:02.313","lastModified":"2026-06-16T23:01:05.413","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"PHP 5.2.7 contains an incorrect change to the FILTER_UNSAFE_RAW functionality, and unintentionally disables magic_quotes_gpc regardless of the actual magic_quotes_gpc setting, which might make it easier for context-dependent attackers to conduct SQL injection attacks and unspecified other attacks."},{"lang":"es","value":"PHP v5.2.7 contiene un cambio incorrecto de la funcionalidad FILTER_UNSAFE_RAW, y de forma no intencionada desactiva la opción magic_quotes_gpc, sin importar la actual configuración de magic_quotes_gpc, lo cual facilita a los atacantes, dependiendo del contexto, provocar ataques de inyección SQL y otros ataques no especificados."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-16"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:*","matchCriteriaId":"1C0E7E2A-4770-4B68-B74C-5F5A6E1876DC"}]}]}],"references":[{"url":"http://bugs.php.net/bug.php?id=42718","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://bugs.php.net/bug.php?id=46759","source":"cve@mitre.org"},{"url":"http://www.php.net/ChangeLog-5.php#5.2.8","source":"cve@mitre.org"},{"url":"http://www.php.net/archive/2008.php#id2008-12-07-1","source":"cve@mitre.org"},{"url":"http://www.php.net/archive/2008.php#id2008-12-08-1","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/32673","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id?1021393","source":"cve@mitre.org"},{"url":"http://bugs.php.net/bug.php?id=42718","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://bugs.php.net/bug.php?id=46759","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-5.php#5.2.8","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/archive/2008.php#id2008-12-07-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/archive/2008.php#id2008-12-08-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/32673","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1021393","source":"af854a3a-2127-422b-91ae-364da2661108"}],"vendorComments":[{"organization":"Red Hat","comment":"Not vulnerable.  This issue did not affect the versions of the php package, as shipped with Red Hat Enterprise Linux 2.1, 3, 4, 5, and with\nRed Hat Application Stack v1 and v2.  Only PHP version 5.2.7 was affected by this flaw.","lastModified":"2009-01-23T00:00:00"}]}