CVE-2019-16151: [FortiOS][Web filtering] Host header is vulnerable to an XSS vulnerability and redirection/injection
An improper neutralization of input during web page generation vulnerability [CWE-79] in FortiOS 6.4.1 and below, 6.2.9 and below may allow a remote unauthenticated attacker to either redirect users to malicious websites via a crafted "Host" header or to execute JavaScript code in the victim's browser context. This happens when the FortiGate has web filtering and category override enabled/configured.
Other sources
An improper neutralization of input during web page generation vulnerability [CWE-79] in FortiOS may allow a remote unauthenticated attacker to either redirect users to malicious websites via a crafted "Host" header or to execute JavaScript code in the victim's browser context.
This happens when the FortiGate has web filtering and category override enabled/configured.
— FortiGuard
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2019-16151?
CVE-2019-16151 is classified as a medium severity vulnerability due to its potential to allow exploitation by remote unauthenticated attackers.
What types of attacks can be executed via CVE-2019-16151?
CVE-2019-16151 can allow attackers to redirect users to malicious websites or execute arbitrary JavaScript code.
Which versions of FortiOS are affected by CVE-2019-16151?
CVE-2019-16151 affects FortiOS versions 6.4.1 and below, and 6.2.9 and below.
How do I fix CVE-2019-16151?
To mitigate CVE-2019-16151, upgrade FortiOS to the latest version that addresses this vulnerability.
Is user authentication needed to exploit CVE-2019-16151?
No, CVE-2019-16151 can be exploited by remote unauthenticated attackers.