php: mysqli mysqli_fetch_assoc does not escape its output when magic_quotes are enabled
Published Jan 18, 2011
6.8
MEDIUMCVSS 2.0
EPSS 1.46%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 4
php
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 4, 5, or 6.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.46% (0.01464) | 72.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.46% (0.01464) | 70.13th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.24% (0.00242) | 45.58th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.18% (0.00175) | 55.89th | v3 (v2023.03.01) |
| Jun 20, 2024 | 0.18% (0.00175) | 54.82th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.18% (0.00175) | 52.81th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
References (9)
- http://bugs.php.net/52221 x_refsource_CONFIRM
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.securityfocus.com/bid/46056 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2010-4700 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=670811 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64964 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2010-4700
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12620 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2010-4700
| Link | Providers | Tags |
|---|---|---|
| http://bugs.php.net/52221 | x_refsource_CONFIRM | |
| http://www.php.net/ChangeLog-5.php | x_refsource_CONFIRM | |
| http://www.securityfocus.com/bid/46056 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2010-4700 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=670811 | Issue Tracking | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/64964 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2010-4700 | ||
| https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12620 | vdb-entrysignaturex_refsource_OVAL | |
| https://www.cve.org/CVERecord?id=CVE-2010-4700 |
Change history (0)
No recorded changes yet.