Potential XSS in "CSRF validation failure" page due to lack of referer sanitization
On FortiAuthenticator, a HTML page is returned to the user when the CSRF validation fails on referer mismatch. This page displays the faulty referer without sanitizing it. Therefore, in an attack scenario where the referer could be manipulated, the attacker could inject malicious scripts in the aforementioned HTML-page.
Cross-site Scripting (XSS)
FortAuthenticator 4.0.0 to under 5.3.0 versions.
Upgrade to FortiAuthenticator 5.3.0 or above.
2018-05-29 Initial version.
2019-02-12 Add affected start versions.
Fortinet is pleased to thank Arun Narayanan from Applied-Risk reporting this vulnerability under responsible disclosure.