SQL Injection in PHP
CVE-2010-4700
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.015, 74.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.3.2, 5.3.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Farrhouq/Inpt-report). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- oval:org.mitre.oval:def:12620 (signature, vdb-entry)
- www.php.net/ChangeLog-5.php
- www.securityfocus.com/bid/46056 (vdb-entry)
- bugs.php.net/52221
- php-setmagicquotesruntime-sql-injection(64964) (vdb-entry)