CVE-2010-4700 SQL injection in n/a

Medium 6.8 Published Updated

Attackers can exploit a flaw in PHP's MySQLi extension to perform SQL injection attacks, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not stated
Fix
None listed

What is CVE-2010-4700?

CVE-2010-4700 is a medium-severity SQL injection vulnerability in Php Php, published on 18 Jan 2011. It can be exploited over the network.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2010-4700?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2010-4700?

No fix has been published for CVE-2010-4700 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2010-4700 being exploited?

There is no known exploitation of CVE-2010-4700 in the wild and no public exploit code.

All Php Php vulnerabilities

Sources

Also known as GHSA-773h-jcv3-7rcg.

Is CVE-2010-4700 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free