CVE-2008-5844
publishedphp: change to the FILTER_UNSAFE_RAW in 5.2.7 breaks magic_quotes_gpc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- http://bugs.php.net/bug.php?id=42718
- http://bugs.php.net/bug.php?id=46759
- http://www.php.net/ChangeLog-5.php#5.2.8
- http://www.php.net/archive/2008.php#id2008-12-07-1
- http://www.php.net/archive/2008.php#id2008-12-08-1
- 32673 http://www.securityfocus.com/bid/32673
- 1021393 http://www.securitytracker.com/id?1021393
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7f7c20b12f60550ffb9fb4c7bf6af8f2f3a33dd62797eb7cf5d3ee3458098bfb
- Ingested
- 23 Sep 2026, 07:38:30 UTC
- Source record
- Official CVE record