CVE-2010-4700: SQL Injection

Published Jan 18, 2011
·
Updated

The setmagicquotesruntime function in PHP 5.3.2 and 5.3.3, when the MySQLi extension is used, does not properly interact with use of the mysqlifetchassoc 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.

Affected Software

2 affected components
PHP PHP=5.3.2
PHP PHP=5.3.3

Event History

Jan 18, 2011
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-4700?

CVE-2010-4700 has a medium severity rating due to its potential for allowing SQL injection attacks.

2

How do I fix CVE-2010-4700?

To mitigate CVE-2010-4700, upgrade PHP to version 5.3.4 or later, which addresses the vulnerability.

3

What versions of PHP are affected by CVE-2010-4700?

CVE-2010-4700 affects PHP versions 5.3.2 and 5.3.3.

4

Can CVE-2010-4700 lead to unauthorized data access?

Yes, CVE-2010-4700 can lead to unauthorized data access if exploited successfully through SQL injection.

5

What is the main issue with CVE-2010-4700?

The main issue with CVE-2010-4700 is the improper interaction between the set_magic_quotes_runtime function and mysqli_fetch_assoc, which can facilitate SQL injection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203