Out-of-bounds Write in IPSEC Daemon
Summary
An Out-of-bounds Write in FortiOS IPSEC daemon may allow an unauthenticated attacker to perform a denial of service under certains conditions that are outside the control of the attacker.
| Version | Affected | Solution |
|---|---|---|
| FortiOS 7.6 | 7.6.0 | Upgrade to 7.6.1 or above |
| FortiOS 7.4 | 7.4.0 through 7.4.7 | Upgrade to 7.4.8 or above |
| FortiOS 7.2 | 7.2.0 through 7.2.10 | Upgrade to 7.2.11 or above |
| FortiOS 7.0 | 7.0 all versions | Migrate to a fixed release |
| FortiOS 6.4 | 6.4 all versions | Migrate to a fixed release |
Workarounds :
Under the config vpn ipsec phase1-interface configuration, either set authmethod to psk, or set digital-signature-auth to disable.
For example :
config vpn ipsec phase1-interface
edit "xyz"
set authmethod signature
set digital-signature-auth disable
next
end
or :
config vpn ipsec phase1-interface
edit "xyz"
set authmethod psk
next
end
Acknowledgement
Internally discovered and reported by Gwendal Guégniaud of Fortinet Product Security Team.Timeline
2025-01-14: Initial publication2025-02-18: add fixed version for 7.2.x and 7.4.x
2025-03-13: add workarounds