Vulnerabilities · 2008 · Php
CVE-2008-5844
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php 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
- bugs.php.net/bug.php?id=42718 · Exploit
- bugs.php.net/bug.php?id=46759
- www.php.net/ChangeLog-5.php#5.2.8
- www.php.net/archive/2008.php#id2008-12-07-1
- www.php.net/archive/2008.php#id2008-12-08-1
- www.securityfocus.com/bid/32673
- www.securitytracker.com/id?1021393
- nvd.nist.gov/vuln/detail/CVE-2008-5844
- cve.org/CVERecord?id=CVE-2008-5844
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.