Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-59118 PoC — Apache OFBiz: Critical Remote Command Execution via Unrestricted File Upload

Source
Associated Vulnerability
Title: Apache OFBiz: Critical Remote Command Execution via Unrestricted File Upload (CVE-2025-59118)
Description:Unrestricted Upload of File with Dangerous Type vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 24.09.03. Users are recommended to upgrade to version 24.09.03, which fixes the issue.
Description
CVE-2025-59118
Readme
# 🚨 **CVE-2025-59118: Critical Apache OFBiz RCE** 🚨  
**Unrestricted File Upload = Full Server Compromise** 💥  

---

## 🔍 **Core Details**  
| **Attribute** | **Value** |
|---------------|-----------|
| **CVE ID** | `CVE-2025-59118` 🔖 |
| **Title** | **Unrestricted Upload of File with Dangerous Type** 📂⚠️ |
| **Severity** | **Critical** 🔥 (CVSS ~9.0+ expected) |
| **CWE** | [CWE-434](https://cwe.mitre.org/data/definitions/434.html) 🛡️ |
| **Affected** | Apache OFBiz **< 24.09.03** ❌ |
| **Fixed In** | **24.09.03+** ✅ |
| **Published** | **Nov 12, 2025** 📅 |
| **Attack Type** | **Remote Code Execution (RCE)** 💻💣 |
| **Auth Required?** | Yes (low-privilege user) 🔑 |

---

## 🛠️ **How It Works**  
1. **Login** as any user → `/control/login` 🔐  
2. **Upload** malicious `.jsp` or `.groovy` file via **ImageManagementServices** 📤  
3. File lands in **webapp/** → **executable path** 🌐  
4. **Access URL** → **RCE triggered** → `whoami`, `rm -rf`, or **web shell** 😈  

> **No validation. No filters. Instant pwn.**  

---

## ⚡ **Impact**  
| **Risk** | **Level** |
|--------|---------|
| Server Takeover | 🌕🌕🌕🌕🌕 |
| Data Theft | 💳📊
| Ransomware | 🔒💰 |
| Lateral Movement | 🌐➡️🏢 |

> **ERP systems = high-value targets** 🏦  

---

## 🛑 **Mitigation Checklist**  
- [ ] **Upgrade to 24.09.03** → [Download](https://ofbiz.apache.org/download.html) ⬇️  
- [ ] **Block dangerous extensions**: `.jsp`, `.groovy`, `.class` 🚫  
- [ ] **Add WAF rules** (ModSecurity, Cloudflare) 🛡️  
- [ ] **Monitor uploads** → SIEM alerts on `/control/upload` 📡  
- [ ] **Restrict access** to trusted IPs only 🌍  
- [ ] **Audit users** → disable defaults 🔍  

---

## 🔗 **Official References**  
- [Apache Security Advisory](https://ofbiz.apache.org/security.html) 📜  
- [Release Notes 24.09.03](https://ofbiz.apache.org/release-notes-24.09.03.html) 📝  
- [JIRA: OFBIZ-13292](https://issues.apache.org/jira/browse/OFBIZ-13292) 🐞  
- [NVD Entry](https://nvd.nist.gov/vuln/detail/CVE-2025-59118) 📋  
- [OSS-Security Thread](http://www.openwall.com/lists/oss-security/2025/11/11/1) ✉️  

---

## 🌐 **Exposed Instances (Live Scan Data)**  
| **Scanner** | **Results** | **Query** |
|-----------|------------|----------|
| **ZoomEye** | **844** | `app="Apache OFBiz"` |
| **Hunter** | **1,200+** | `product.name="OFBiz"` |
| **FOFA** | **1,600+** | `app="Apache_OFBiz"` |

> **Patch now. Scan now. Sleep later.** 😴  

---

## 🐦 **X (Twitter) Buzz**  
| **User** | **Post** | **Time** |
|--------|--------|--------|
| `@zoomeye_team` | "🚨 CVE-2025-59118 + XSS → 844 exposed OFBiz hosts!" | Nov 13 |
| `@HunterMapping` | "1.2K+ live targets. Patch or perish." | Nov 13 |
| `@fofabot` | "1.6K results on FOFA. RCE via upload." | Nov 12 |
| `@CVEnew` | "Official: Upgrade to 24.09.03" | Nov 12 |

---

## 🎯 **Detection Rules**  
```yaml
# Nuclei Template (Coming Soon)
- id: ofbiz-rce-upload
  match: POST /control/upload
  body: .*\.jsp.*
  alert: "Possible CVE-2025-59118 Attempt"
```

```bash
# Log grep
grep -i "upload" ofbiz.log | grep -E "\.jsp|\.groovy"
```

---

## ✅ **Final Verdict**  
> **"If you're running OFBiz < 24.09.03, you're one upload away from a breach."**  

**Act now. Patch fast. Stay safe.** 🔐✨
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →