CVE-2010-4700
publishedphp: mysqli mysqli_fetch_assoc does not escape its output when magic_quotes are enabled
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
Description
The set_magic_quotes_runtime function in PHP 5.3.2 and 5.3.3, when the MySQLi extension is used, does not properly interact with use of the mysqli_fetch_assoc function, which might make it easier for context-dependent attackers to conduct SQL injection attacks via crafted input that had been properly handled in earlier PHP versions.
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
5- http://bugs.php.net/52221
- http://www.php.net/ChangeLog-5.php
- 46056 http://www.securityfocus.com/bid/46056
- php-setmagicquotesruntime-sql-injection(64964) https://exchange.xforce.ibmcloud.com/vulnerabilities/64964
- oval:org.mitre.oval:def:12620 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12620
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 800bc955d1987e220908b06b17f4672f33d91f08f30b68f0c40bdb09e0694738
- Ingested
- 23 Sep 2026, 07:38:54 UTC
- Source record
- Official CVE record