支持本站 — 捐款将帮助我们持续运营

目标:1000 元,已筹:752

75.2%
一、 漏洞 CVE-2025-25257 基础信息
漏洞信息
                                        # N/A

## 概述
Fortinet FortiWeb 版本 7.6.0 到 7.6.3,7.4.0 到 7.4.7,7.2.0 到 7.2.10 和低于 7.0.10 的版本中存在 SQL 注入漏洞。未经身份验证的攻击者可以通过精心构造的 HTTP 或 HTTPS 请求执行未经授权的 SQL 代码或命令。

## 影响版本
- 7.6.0 到 7.6.3
- 7.4.0 到 7.4.7
- 7.2.0 到 7.2.10
- 低于 7.0.10

## 细节
该漏洞源于对用于 SQL 命令中的特殊元素的不当中和,导致 SQL 注入漏洞 [CWE-89]。攻击者可以通过构造特定的 HTTP 或 HTTPS 请求来利用此漏洞,执行任意 SQL 代码或命令。

## 影响
未经身份验证的攻击者可以利用此漏洞执行未经授权的 SQL 代码或命令,从而可能对系统造成严重威胁。
                                        
神龙判断

是否为 Web 类漏洞:

判断理由:

是。这个漏洞存在于Fortinet FortiWeb的多个版本中,由于服务端对用户输入的特殊元素处理不当,导致SQL注入(SQL Injection)漏洞。攻击者可以通过构造的HTTP或HTTPS请求执行未授权的SQL代码或命令,这直接影响了Web服务的服务端安全性。
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
N/A
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源:美国国家漏洞数据库 NVD
漏洞类别
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
来源:美国国家漏洞数据库 NVD
漏洞标题
Fortinet FortiWeb SQL注入漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Fortinet FortiWeb是美国飞塔(Fortinet)公司的一款Web应用层防火墙,它能够阻断如跨站点脚本、SQL注入、Cookie中毒、schema中毒等攻击的威胁,保证Web应用程序的安全性并保护敏感的数据库内容。 Fortinet FortiWeb 7.6.3及之前版本、7.4.7及之前版本、7.2.10及之前版本和7.0.10之前版本存在SQL注入漏洞,该漏洞源于对SQL命令中特殊元素中和不当,可能导致SQL注入攻击。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
SQL注入
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-25257 的公开POC
#POC 描述源链接神龙链接
1Nonehttps://github.com/watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257POC详情
2FortiWeb CVE-2025-25257 exploithttps://github.com/0xbigshaq/CVE-2025-25257POC详情
3Tool for detecting and exploiting CVE-2025-25257 in Fortinet FortiWeb.https://github.com/adilburaksen/CVE-2025-25257-Exploit-ToolPOC详情
4Nonehttps://github.com/imbas007/CVE-2025-25257POC详情
5CVE-2025-25257https://github.com/B1ack4sh/Blackash-CVE-2025-25257POC详情
6PoC 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.https://github.com/0xgh057r3c0n/CVE-2025-25257POC详情
7Exploiting the CVE-2025-25257 vulnerability in FortiWeb. This repository demonstrates secure pre-authenticated SQL injection.https://github.com/aitorfirm/CVE-2025-25257POC详情
8CVE‑2025‑25257 is a critical pre-authentication SQL injection vulnerability affecting Fortinet FortiWeb’shttps://github.com/mrmtwoj/CVE-2025-25257POC详情
9Public PoC for CVE-2025-25257: FortiWeb pre-auth SQLi to RCEhttps://github.com/TheStingR/CVE-2025-25257POC详情
10An 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-25257.yamlPOC详情
11A working (at least for me :] ) exploit for CVE-2025-25257https://github.com/segfault-it/CVE-2025-25257POC详情
12🛠️ Exploit CVE-2025-25257 in FortiWeb with a working full exploit and a proof of concept for file read/write.https://github.com/kityzed2003/CVE-2025-25257POC详情
13PoC 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.https://github.com/zr1p3r/CVE-2025-25257POC详情
14Nonehttps://github.com/silentexploitexe/CVE-2025-25257POC详情
15CVE-2025-25257 PoC for educational use and/or authorised pentesting.https://github.com/mr-r3b00t/CVE-2025-25257POC详情
16CVE-2025-25257https://github.com/Ashwesker/Blackash-CVE-2025-25257POC详情
17Nonehttps://github.com/lytianahkone-boop/cve-2025-25257POC详情
18CVE-2025-25257https://github.com/Ashwesker/Ashwesker-CVE-2025-25257POC详情
三、漏洞 CVE-2025-25257 的情报信息
  • 标题: PSIRT | FortiGuard Labs -- 🔗来源链接

    标签:

    神龙速读:
                                            ### 关键信息
    
    #### 漏洞概述
    - **漏洞类型**: 未认证的SQL注入 (CWE-89)
    - **影响组件**: FortiWeb GUI
    - **严重性**: 关键 (CVSSv3 分数: 9.6)
    - **CVE ID**: CVE-2025-25257
    
    #### 影响版本及解决方案
    | 版本 | 受影响范围 | 解决方案 |
    |------|------------|----------|
    | FortiWeb 7.6 | 7.6.0 至 7.6.3 | 升级至 7.6.4 或更高版本 |
    | FortiWeb 7.4 | 7.4.0 至 7.4.7 | 升级至 7.4.8 或更高版本 |
    | FortiWeb 7.2 | 7.2.0 至 7.2.10 | 升级至 7.2.11 或更高版本 |
    | FortiWeb 7.0 | 7.0.0 至 7.0.10 | 升级至 7.0.11 或更高版本 |
    
    #### 绕过方法
    - 禁用 HTTP/HTTPS 管理界面
    
    #### 时间线
    - **2025-07-08**: 初始发布
    - **2025-07-18**: 观察到 CVE 被利用
    
    #### 致谢
    - 感谢 GMO Cybersecurity by Ierae 的 Kentaro Kawane 报告此漏洞并进行负责任披露。
                                            
    PSIRT | FortiGuard Labs
  • https://nvd.nist.gov/vuln/detail/CVE-2025-25257
四、漏洞 CVE-2025-25257 的评论

暂无评论


发表评论