SQL injection in FortiWeb - CVE-2025-25257
Published: July 8, 2025 / Updated: August 30, 2025
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
The vulnerability exists due to improper neutralization of special elements used in an sql command ('sql injection') in GUI. An unauthenticated attacker can execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.
Affected software
How to mitigate CVE-2025-25257
Links to Public Exploits and PoC-codes
- Exploit #11909 - CVE-2025-25257 (August 30, 2025)
- Exploit #11827 - CVE-2025-25257 (August 1, 2025)
- Exploit #11819 - CVE-2025-25257 (PoC for CVE-2025-25257, a critical unauthenticated SQL injection in FortiWeb. Exploits SQLi via the Authorization header to write a webshell and gain RCE. No login required. Fully automated.) (August 1, 2025)
- Exploit #11808 - CVE-2025-25257 (August 1, 2025)
- Exploit #11798 - CVE-2025-25257 (July 18, 2025)
- Exploit #11795 - CVE-2025-25257 (July 18, 2025)
- Exploit #11793 - watchTowr-vs-FortiWeb-CVE-2025-25257 (July 18, 2025)