Fortinet FortiWeb ApacheCookie_parse Improper Verification of Cryptographic Signature Authentication Bypass Vulnerability
The ApacheCookie_parse method in Fortinet FortiWeb fails to properly verify a cryptographic signature, allowing a remote unauthenticated attacker to bypass authentication on affected installations.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of Fortinet FortiWeb. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the ApacheCookie_parse routine accepted a cookie without correctly validating its cryptographic signature, so a forged cookie was trusted as authentic.
Impact
A remote, unauthenticated attacker could bypass authentication on affected FortiWeb installations.
What the attacker needed
Network access to the FortiWeb interface; no authentication required
The fix
Fortinet issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
FortiWeb is a web application firewall. It uses a signed cookie to decide whether someone is already logged in. Because it did not check the signature properly, an attacker could make a fake cookie and be treated as logged in without any password.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.