Description
The HTTP Headers plugin for WordPress is vulnerable to CRLF Injection in all versions up to, and including, 1.19.2. This is due to insufficient sanitization of custom header name and value fields before writing them to the Apache .htaccess file via `insert_with_markers()`. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary newline characters and additional Apache directives into the .htaccess configuration file via the 'Custom Headers' settings, leading to Apache configuration parse errors and potential site-wide denial of service.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
zinoui HTTP Headers
Default version status: unaffected
0 to ≤ 1.19.2affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7716e77f-e899-4046-9421-86fc0c36c245?source=cve ↗
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L1098 ↗
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L1098 ↗
- https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/http-headers.php#L745 ↗
- https://plugins.trac.wordpress.org/browser/http-headers/trunk/http-headers.php#L745 ↗