Skip to content
Crypto Advisory Advanced CVE-2025-64447

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.

Jason McFadyen Follow

Originally disclosed on Zero Day Initiative

High 8.1 View original

This vulnerability allows remote attackers to bypass authentication on affected installations of Fortinet FortiWeb. Authentication is not required to exploit this vulnerability.

Jason McFadyen of Trend Research, on the Zero Day Initiative

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.

More by Jason McFadyen

View all

9 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.