Browse / CVEs / CVE-2019-10098
CVE-2019-10098· apache / http server· CWE-601
Apache HTTP server v2.4.0 to v2.4.39 - Open Redirect
mediumseverity
6.1CVSS score
74%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
In Apache HTTP server 2.4.0 to 2.4.39, Redirects configured with mod_rewrite that were intended to be self-referential might be fooled by encoded newlines and redirect instead to an unexpected URL within the request URL.
Impact
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the download of malware.
Fix
Upgrade Apache HTTP server to version 2.4.40 or later to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/http%3A%2F%2Fwww.interact.sh
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]…/Run it with nuclei: nuclei -id CVE-2019-10098 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2019-10098
info:
name: Apache HTTP server v2.4.0 to v2.4.39 - Open Redirect
author: ctflearner
severity: medium
description: |
In Apache HTTP server 2.4.0 to 2.4.39, Redirects configured with mod_rewrite that were intended to be self-referential might be fooled by encoded newlines and redirect instead to an unexpected URL within the request URL.
impact: |
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the download of malware.
remediation: |
Upgrade Apache HTTP server to version 2.4.40 or later to mitigate this vulnerability.
reference:
- https://www.exploit-db.com/exploits/47689
- https://nvd.nist.gov/vuln/detail/CVE-2019-10098
- https://www.openwall.com/lists/oss-security/2020/04/01/4
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://www.oracle.com/security-alerts/cpuapr2021.html
- https://www.oracle.com/security-alerts/cpuoct2019.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-10098
cwe-id: CWE-601
epss-score: 0.73981
epss-percentile: 0.99484
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,redirect,apache,server,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/http%3A%2F%2Fwww.interact.sh"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'References
- https://www.exploit-db.com/exploits/47689
- https://nvd.nist.gov/vuln/detail/CVE-2019-10098
- https://www.openwall.com/lists/oss-security/2020/04/01/4
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://www.oracle.com/security-alerts/cpuapr2021.html
- https://www.oracle.com/security-alerts/cpuoct2019.html
Use this check only on systems you are authorised to test. Where the data comes from