CVE-2025-25257: Unauthenticated SQL injection in GUI

Published Jul 8, 2025
·
Updated

An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] in FortiWeb may allow an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.

Other sources

An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] vulnerability in Fortinet FortiWeb 7.6.0 through 7.6.3, FortiWeb 7.4.0 through 7.4.7, FortiWeb 7.2.0 through 7.2.10, FortiWeb 7.0.0 through 7.0.10 allows an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.

MITRE

Fortinet FortiWeb contains a SQL injection vulnerability that may allow an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.

CISA

Affected Software

9 affected componentsFixes available
Fortinet FortiWeb>=7.6.0<=7.6.3
Fortinet FortiWeb>=7.4.0<=7.4.7
Fortinet FortiWeb>=7.2.0<=7.2.10
Fortinet FortiWeb>=7.0.0<=7.0.10
Fortinet FortiWeb
Fortinet FortiWeb>=7.0.0<7.0.11
Fortinet FortiWeb>=7.2.0<7.2.11
Fortinet FortiWeb>=7.4.0<7.4.8
Fortinet FortiWeb>=7.6.0<7.6.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Fortinet FortiWeb to a version that resolves this vulnerability.

    Fixed in 7.6.4
  2. Upgrade

    Upgrade Fortinet FortiWeb to a version that resolves this vulnerability.

    Fixed in 7.4.8
  3. Upgrade

    Upgrade Fortinet FortiWeb to a version that resolves this vulnerability.

    Fixed in 7.2.11
  4. Upgrade

    Upgrade Fortinet FortiWeb to a version that resolves this vulnerability.

    Fixed in 7.0.11
  5. Remove

    Remove Fortinet FortiWeb from your environment.

    Discontinue use of the product if mitigations are unavailable.

  6. Compensating control

    Apply mitigations per vendor instructions and follow applicable BOD 22-01 guidance for cloud services.

Event History

Jul 8, 2025
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
Jul 11, 2025
News Published
via BleepingComputer·07:41 PM
News Published
via BleepingComputer·07:42 PM
Jul 16, 2025
News Published
via BleepingComputer·02:58 PM
Jul 17, 2025
CVE Published
via MITRE·03:10 PM
Data Sourced
via MITRE·03:10 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Jul 18, 2025
Known Exploited
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Feb 4, 2026
Exploit Published
via ExploitDB·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-25257?

CVE-2025-25257 is classified as a critical vulnerability due to its potential for SQL injection and unauthorized execution of commands.

2

How do I fix CVE-2025-25257?

To remediate CVE-2025-25257, update FortiWeb to version 7.6.4 or later, 7.4.8 or later, 7.2.11 or later, or 7.0.11 or later.

3

Who is affected by CVE-2025-25257?

CVE-2025-25257 affects FortiWeb versions between 7.0.0 and 7.6.3, 7.4.0 and 7.4.7, 7.2.0 and 7.2.10.

4

What type of vulnerability is CVE-2025-25257?

CVE-2025-25257 is an SQL Injection vulnerability which allows attackers to inject and execute unauthorized SQL commands.

5

Can CVE-2025-25257 be exploited remotely?

Yes, CVE-2025-25257 can be exploited remotely by unauthenticated attackers via crafted HTTP or HTTPS requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203