{
  "id": "CVE-2025-25257",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-25257",
  "published_at": "2025-07-17T15:10:04.532Z",
  "title": "Fortinet FortiWeb SQL Injection Vulnerability",
  "vendor": "Fortinet",
  "product": "FortiWeb",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2025-07-18",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1
  },
  "first_poc": {
    "created_at": "2025-07-10T17:08:25Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -6.9,
    "repo": "watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257",
    "source": "github"
  },
  "poc_repo_count": 11,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Firewall / VPN",
    "confidence": "high",
    "reason": "known edge product: Fortinet FortiWeb Fortinet FortiWeb SQL Injection Vulnerability"
  },
  "description": "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.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.6,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "B1ack4sh/Blackash-CVE-2025-25257",
      "url": "https://github.com/B1ack4sh/Blackash-CVE-2025-25257",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "kityzed2003/CVE-2025-25257",
      "url": "https://github.com/kityzed2003/CVE-2025-25257",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257",
      "url": "https://github.com/watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257",
      "created_at": "2025-07-10T17:08:25Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 100,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-02-18T14:37:47Z"
    },
    {
      "repo": "0xbigshaq/CVE-2025-25257",
      "url": "https://github.com/0xbigshaq/CVE-2025-25257",
      "created_at": "2025-07-11T12:09:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 64,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-11-01T07:50:36Z"
    },
    {
      "repo": "aitorfirm/CVE-2025-25257",
      "url": "https://github.com/aitorfirm/CVE-2025-25257",
      "created_at": "2025-07-12T00:05:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-11-09T09:41:54Z"
    },
    {
      "repo": "adilburaksen/CVE-2025-25257-Exploit-Tool",
      "url": "https://github.com/adilburaksen/CVE-2025-25257-Exploit-Tool",
      "created_at": "2025-07-12T14:44:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-10-10T14:23:20Z"
    },
    {
      "repo": "imbas007/CVE-2025-25257",
      "url": "https://github.com/imbas007/CVE-2025-25257",
      "created_at": "2025-07-12T15:14:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-02-22T04:38:44Z"
    },
    {
      "repo": "0xgh057r3c0n/CVE-2025-25257",
      "url": "https://github.com/0xgh057r3c0n/CVE-2025-25257",
      "created_at": "2025-07-15T10:00:07Z",
      "first_seen_at": "2026-11-18T11:13:56.742Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-09-05T03:10:16Z"
    },
    {
      "repo": "mrmtwoj/CVE-2025-25257",
      "url": "https://github.com/mrmtwoj/CVE-2025-25257",
      "created_at": "2025-07-19T03:12:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-10-14T07:15:31Z"
    },
    {
      "repo": "TheStingR/CVE-2025-25257",
      "url": "https://github.com/TheStingR/CVE-2025-25257",
      "created_at": "2025-07-19T15:55:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-03-18T19:59:11Z"
    },
    {
      "repo": "segfault-it/CVE-2025-25257",
      "url": "https://github.com/segfault-it/CVE-2025-25257",
      "created_at": "2025-09-21T10:24:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-12-10T14:44:26Z"
    },
    {
      "repo": "mr-r3b00t/CVE-2025-25257",
      "url": "https://github.com/mr-r3b00t/CVE-2025-25257",
      "created_at": "2025-11-11T10:05:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-10-04T12:30:19Z"
    },
    {
      "repo": "lytianahkone-boop/cve-2025-25257",
      "url": "https://github.com/lytianahkone-boop/cve-2025-25257",
      "created_at": "2025-12-16T10:23:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-09-22T14:17:07Z"
    },
    {
      "repo": "GarethMSheldon/Fortinet-FortiWeb-Fabric-Connector-CVE-2025-25257-Detection",
      "url": "https://github.com/GarethMSheldon/Fortinet-FortiWeb-Fabric-Connector-CVE-2025-25257-Detection",
      "created_at": "2026-03-01T19:07:23Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-01-15T08:45:55Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Fortinet",
        "product": "FortiWeb",
        "ranges": [
          "\u003e= 7.6.0, \u003c= 7.6.3",
          "\u003e= 7.4.0, \u003c= 7.4.7",
          "\u003e= 7.2.0, \u003c= 7.2.10",
          "\u003e= 7.0.0, \u003c= 7.0.10"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "Upgrade to FortiWeb version 7.6.4 or above\nUpgrade to FortiWeb version 7.4.8 or above\nUpgrade to FortiWeb version 7.2.11 or above\nUpgrade to FortiWeb version 7.0.11 or above"
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52473",
      "source": "exploitdb",
      "title": "FortiWeb Fabric Connector 7.6.x - SQL Injection to Remote Code Execution",
      "published_at": "2026-02-04T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-25257.yaml",
      "source": "nuclei",
      "title": "nuclei template: Fortinet FortiWeb - SQL Injection",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/GarethMSheldon/Fortinet-FortiWeb-Fabric-Connector-CVE-2025-25257-Detection/blob/a7aba65c7607208366afc16878ef31f7d1ed8fd4/src/poc.py",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/fabric/device/status",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        },
        {
          "name": "Authorization",
          "value": "Bearer aaa' OR '1'='1"
        }
      ],
      "protocol": "https",
      "repos": [
        "adilburaksen/CVE-2025-25257-Exploit-Tool",
        "aitorfirm/CVE-2025-25257",
        "watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257"
      ],
      "repo_count": 3,
      "confidence": 0.7,
      "evidence": [
        "adilburaksen/CVE-2025-25257-Exploit-Tool/exploit.py:36",
        "adilburaksen/CVE-2025-25257-Exploit-Tool/exploit.py:69",
        "aitorfirm/CVE-2025-25257/README.md:39",
        "aitorfirm/CVE-2025-25257/src/poc.py:9",
        "watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257/watchTowr-vs-FortiWeb-CVE-2025-25257.py:60",
        "watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257/watchTowr-vs-FortiWeb-CVE-2025-25257.py:71"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/fabric/device/status`;",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer aaa' OR '1'='1"
        }
      ],
      "protocol": "http",
      "repos": [
        "aitorfirm/CVE-2025-25257"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "aitorfirm/CVE-2025-25257/java/poc.js:6"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/system/status",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "lytianahkone-boop/cve-2025-25257"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "lytianahkone-boop/cve-2025-25257/README.md:48"
      ]
    },
    {
      "method": "GET",
      "path_template": "/cgi-bin/x.cgi",
      "user_agents": [
        "whoami"
      ],
      "protocol": "https",
      "repos": [
        "0xgh057r3c0n/CVE-2025-25257"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "0xgh057r3c0n/CVE-2025-25257/README.md:55"
      ]
    },
    {
      "method": "GET",
      "path_template": "/webshell.php",
      "ports": [
        8080
      ],
      "user_agents": [
        "whoami"
      ],
      "protocol": "https",
      "repos": [
        "TheStingR/CVE-2025-25257"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "TheStingR/CVE-2025-25257/README.md:121"
      ]
    },
    {
      "method": "HEAD",
      "path_template": "/cgi-bin/ml-draw.py",
      "protocol": "http",
      "repos": [
        "watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257/watchTowr-vs-FortiWeb-CVE-2025-25257.py:75"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/system/fabric/config",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer valid_token_001"
        },
        {
          "name": "Authorization",
          "value": "Bearer ' OR '1'='1"
        },
        {
          "name": "Authorization",
          "value": "Bearer ' UNION SELECT id, username, password, role, email, NULL FROM users--"
        },
        {
          "name": "Authorization",
          "value": "Bearer ' UNION SELECT id, key, value, description, '2025-01-01',NULL FROM system_config--"
        }
      ],
      "content_type": "application/json",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "lytianahkone-boop/cve-2025-25257"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "lytianahkone-boop/cve-2025-25257/README.md:52",
        "lytianahkone-boop/cve-2025-25257/README.md:57",
        "lytianahkone-boop/cve-2025-25257/README.md:62",
        "lytianahkone-boop/cve-2025-25257/README.md:67"
      ]
    }
  ],
  "rules": []
}
