CVE DatabaseCVE-2024-45195
한국어 권고문 →
CVE-2024-451957.5/HIGHCISA KEVCWE-425

Apache OFBiz Forced Browsing and Authentication Bypass Vulnerability (CVE-2024-45195) Security Advisory

⚡ Jump to Patch
Affected Vendors
apache
Affected Components
ofbiz
Published Date
2024-09-04
CVSS v3.1
7.5
HIGH
EPSS (30d)
100.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Apache OFBiz versions prior to 18.12.16

Impact

Unauthenticated remote attackers can bypass authorization checks to access internal business logic and sensitive data directly, potentially leading to Remote Code Execution (RCE).

Mitigation

Immediately upgrade Apache OFBiz to the official patched version 18.12.16 or higher.

Affected Products & Version Scope

All Apache OFBiz versions prior to 18.12.16

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Upgrade Apache OFBiz to version 18.12.16 or later. Below are the commands to download, rebuild, and run the patched version using Gradle.

bash
# 1. Download and extract the latest secure version
wget https://archive.apache.org/dist/ofbiz/apache-ofbiz-18.12.16.zip
unzip apache-ofbiz-18.12.16.zip
cd apache-ofbiz-18.12.16

# 2. Clean previous builds and load data
./gradlew cleanAll
./gradlew loadAll

# 3. Start the OFBiz service
./gradlew ofbiz

2. Temporary Workaround & Hardening Configuration

If an immediate upgrade is not feasible, restrict access to the OFBiz controller endpoints using a reverse proxy (e.g., Nginx) or a Web Application Firewall (WAF).

nginx
# Nginx configuration to restrict access to the control path
server {
    listen 80;
    server_name ofbiz.internal.local;

    # Restrict access to the control servlet to trusted internal IPs only
    location /control/ {
        allow 10.0.0.0/8;
        allow 192.168.0.0/16;
        deny all;
        
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
    }
}

3. Log Audit & IoC Verification Commands

Use the following commands to verify the running version of Apache OFBiz and inspect application logs for potential forced browsing attempts.

bash
# 1. Check the current OFBiz release version
if [ -f 'release.xml' ]; then
    grep -i 'version' release.xml
else
    echo 'release.xml not found. Please check your OFBiz installation path.'
fi

# 2. Scan access logs for suspicious direct requests to the control servlet
grep -E '/control/[a-zA-Z0-9_]+' /var/log/ofbiz/*.log | grep -E ' 403 | 401 | 200 ' | head -n 50
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Since this vulnerability is listed in the CISA KEV and actively exploited, immediately upgrade Apache OFBiz to version 18.12.16 or higher.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2024-45195) is a Direct Request ('Forced Browsing') vulnerability (CWE-425) in the Apache OFBiz open-source ERP framework. The root cause lies in the Request Handler's failure to enforce proper authentication and authorization checks on specific URL paths and view rendering requests. Attackers can bypass security filters by directly requesting internal endpoints defined in the controller map without going through the standard authentication flow.

2. Exploitation Mechanics & Attack Scenario

An attacker exploits this vulnerability by manipulating the HTTP request URI path or combining specific parameters to bypass the authentication filtering layer. This allows direct access to administrative functions or internal data retrieval APIs that should require an active login session. This vulnerability is particularly dangerous as it bypasses previous incomplete patches for authentication bypass issues, allowing attackers to access internal Groovy scripting engines or servlets, potentially leading to full Remote Code Execution (RCE). It is actively exploited in the wild and listed in the CISA KEV catalog.

3. Infrastructure & Business Impact

Apache OFBiz is widely used for managing critical enterprise operations such as Supply Chain Management (SCM), Customer Relationship Management (CRM), and Enterprise Resource Planning (ERP). Successful exploitation could lead to the exposure of highly sensitive business data, intellectual property, and customer records, or serve as an entry point for ransomware and lateral movement within the internal network. The EPSS score of 0.9998 highlights the extreme urgency of this threat.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2024-45195)

FAQ

Q1. How critical is CVE-2024-45195 and is it actively exploited in the wild?

CVE-2024-45195 is rated CVSS 7.5 (HIGH) with a 30-day EPSS exploitation probability of 100.0%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2024-45195?

Primary impacted vendors include apache across ofbiz. Scope summary: All Apache OFBiz versions prior to 18.12.16

Q3. What temporary mitigations or workarounds exist for CVE-2024-45195 before patching?

[Mitigation] Immediately upgrade Apache OFBiz to the official patched version 18.12.16 or higher. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2024-45195

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (apache)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2024-45195 Apache OFBiz Forced Browsing and Authentication Bypass Vulnerability (CVE-2024-45195) Security Advisory (CVSS 7.5) - Patch & Workaround | CVE Pulse