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