HTTP Headers <= 1.18.8 - Authenticated(Administrator+) SQL Injection
Strategic Overview
- Status
- Patched in 1.18.9
- Affected Plugin
- HTTP Headers
- Affected Version
<= 1.18.8- CVSS
- 6.6Medium
- Weakness type
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CVE
CVE-2023-1207
At a glance
CVE-2023-1207 is a medium-severity Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in the HTTP Headers WordPress plugin, affecting versions <= 1.18.8. It carries a CVSS score of 6.6 (reachable over the network; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 1.18.9; sites on affected versions should update now. Disclosed April 2023, reported by qerogram.
Vulnerability Overview
The HTTP Headers plugin for WordPress is vulnerable to SQL Injection via the 'http_headers_post_import' and 'http_headers_post_export' functions in versions up to, and including, 1.18.8 due to insufficient escaping on the user supplied parameters and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers with administrator-level permissions to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Note that 1.18.8 provided a partial patch by restricting this capability to Super Administrators.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
HTTP Headers <= 1.18.8 carries this weakness at http_headers_post_import, and reaching it takes an account at Administrator level or above. SQL injection happens when request data is concatenated into a query instead of being bound as a parameter, letting an attacker change the structure of the statement rather than just its values.
A working injection can read any table the database user can see, which on a WordPress install means user records, password hashes and session or API secrets stored in options. For HTTP Headers the fix is 1.18.9: builds <= 1.18.8 are affected, anything from 1.18.9 onward is not.
Remediation
Update to version 1.18.9, or a newer patched version
How does WordSec protect against this?
An attacker needs Administrator access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: HTTP Headers 1.18.9 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in HTTP Headers
- 7.2CVE-2026-4132: HTTP Headers External Control of File Name or Path
CVE-2026-4132 - 6.6CVE-2023-1208: HTTP Headers <= 1.18.10 Remote Code Execution
CVE-2023-1208 - 5.5CVE-2026-2717: HTTP Headers <= 1.19.2 CRLF Injection
CVE-2026-2717 - 5.5CVE-2023-37978: HTTP Headers <= 1.18.11 Server-Side Request Forgery
CVE-2023-37978 - 4.4CVE-2026-1379: HTTP Headers <= 1.19.4 Stored Cross-Site Scripting
CVE-2026-1379 - 4.4CVE-2023-37874: HTTP Headers <= 1.18.11 Stored Cross-Site Scripting
CVE-2023-37874
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C