Browse / CVEs / CVE-2019-10092
CVE-2019-10092· apache / http server· CWE-79
Apache HTTP Server <=2.4.39 - HTML Injection/Partial Cross-Site Scripting
Apache HTTP Server versions 2.4.0 through 2.4.39 are vulnerable to a limited cross-site scripting issue affecting the mod_proxy error page. An attacker could cause the link on the error page to be malformed and instead point to a page of their choice. This would only be exploitable where a server was set up with proxying enabled but was misconfigured in such a way that the Proxy Error page was displayed.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious HTML code or execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
Fix
Upgrade to Apache HTTP Server version 2.4.40 or later, which includes a fix for this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/%5cgoogle.com/evil.html
Positive when: contains "Proxy Error" AND contains "<a href=\"/\\google.com/evil.html\">"Run it with nuclei: nuclei -id CVE-2019-10092 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2019-10092
info:
name: Apache HTTP Server <=2.4.39 - HTML Injection/Partial Cross-Site Scripting
author: pdteam
severity: medium
description: Apache HTTP Server versions 2.4.0 through 2.4.39 are vulnerable to a limited cross-site scripting issue affecting the mod_proxy error page. An attacker could cause the link on the error page to be malformed and instead point to a page of their choice. This would only be exploitable where a server was set up with proxying enabled but was misconfigured in such a way that the Proxy Error page was displayed.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious HTML code or execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade to Apache HTTP Server version 2.4.40 or later, which includes a fix for this vulnerability.
reference:
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2019-10092-Limited%20Cross-Site%20Scripting%20in%20mod_proxy%20Error%20Page-Apache%20httpd
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://lists.debian.org/debian-lts-announce/2019/09/msg00034.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-10092
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00004.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2019-10092
cwe-id: CWE-79
epss-score: 0.81466
epss-percentile: 0.99643
cpe: cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: http_server
shodan-query:
- cpe:"cpe:2.3:a:apache:http_server"
- apache 2.4.49
tags: cve,cve2019,apache,htmli,injection,vuln
http:
- method: GET
path:
- '{{BaseURL}}/%5cgoogle.com/evil.html'
matchers-condition: and
matchers:
- type: word
words:
- "Proxy Error"
- type: word
words:
- "<a href=\"/\\google.com/evil.html\">"References
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2019-10092-Limited%20Cross-Site%20Scripting%20in%20mod_proxy%20Error%20Page-Apache%20httpd
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://lists.debian.org/debian-lts-announce/2019/09/msg00034.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-10092
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00004.html
Use this check only on systems you are authorised to test. Where the data comes from