Privilege escalation in GUI websocket module

Summary

An Improper Privilege Management vulnerability [CWE-269] affecting FortiOS, FortiProxy & FortiWeb may allow an authenticated attacker with at least read-only admin permissions to gain super-admin privileges via crafted requests to Node.js websocket module.

Version Affected Solution
FortiOS 7.6 7.6.0 through 7.6.1 Upgrade to 7.6.2 or above
FortiOS 7.4 7.4.0 through 7.4.6 Upgrade to 7.4.7 or above
FortiOS 7.2 7.2.0 through 7.2.10 Upgrade to 7.2.11 or above
FortiOS 7.0 7.0.0 through 7.0.16 Upgrade to 7.0.17 or above
FortiOS 6.4 6.4.0 through 6.4.15 Upgrade to 6.4.16 or above
FortiProxy 7.6 7.6.0 through 7.6.1 Upgrade to 7.6.2 or above
FortiProxy 7.4 7.4.0 through 7.4.7 Upgrade to 7.4.8 or above
FortiProxy 7.2 Not affected Not Applicable
FortiProxy 7.0 Not affected Not Applicable
FortiWeb 7.6 7.6.0 through 7.6.1 Upgrade to 7.6.2 or above
FortiWeb 7.4 7.4.0 through 7.4.6 Upgrade to 7.4.7 or above
FortiWeb 7.2 Not affected Not Applicable
FortiWeb 7.0 Not affected Not Applicable
FortiWeb 6.4 Not affected Not Applicable
Follow the recommended upgrade path using our tool at: https://docs.fortinet.com/upgrade-tool

Virtual Patch named "FortiOS.NodeJS.Websocket.Authentication.Bypass." is available in FMWP db update 25.014

Acknowledgement

Internally discovered and reported by Justin Lum of Fortinet developpement team.

Timeline

2025-06-10: Initial publication