Weak Encryption Cipher And Hardcoded Cryptographic Keys In Fortinet Products
Fortinet products used XOR encryption with a static key to protect communications with FortiGuard cloud services, allowing attackers who can monitor traffic to decrypt and read sensitive information such as serial numbers and web URLs. Attackers could also manipulate server responses to alter the behaviour of FortiGuard features.
sec-consult.com
Published on sec-consult.com
Multiple Fortinet products use a weak encryption cipher (“XOR”) and hardcoded cryptographic keys to communicate with the FortiGuard Web Filter, AntiSpam and AntiVirus cloud services. This allows attackers to eavesdrop on user activity and manipulate server responses.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker who can passively monitor internet traffic could learn which Fortinet products an organisation uses, track individuals via FortiClient serial numbers, and spy on users' web surfing activity, including HTTPS URLs when SSL inspection is enabled; they could also manipulate responses to alter FortiGuard features.
What the attacker needed
Ability to monitor network traffic
The fix
The vendor released updated versions of FortiOS, FortiClientWindows, and FortiClientMac that address the issue.
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 write-up has not been written yet. The Original tab links to the source.
Fortinet devices send data to Fortinet's cloud using a simple scrambling method called XOR with a fixed key. Because the key is the same for everyone and the scrambling is weak, anyone who can listen to the network traffic can easily unscramble the messages and read private information. They could also change the messages to trick the device.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.