CVE-2026-34797
Published: 02 April 2026
Description
Endian Firewall version 3.3.25 and prior allow authenticated users to execute arbitrary OS commands via the DATE parameter to /cgi-bin/logs_smtp.cgi. The DATE parameter value is used to construct a file path that is passed to a Perl open() call, which…
more
allows command injection due to an incomplete regular expression validation.
Mitigating Controls (NIST 800-53 r5)AI
Directly addresses the incomplete regular expression validation of the DATE parameter by requiring comprehensive validation of all user inputs before use in Perl open() calls to prevent command injection.
Ensures timely remediation through patching of the specific command injection flaw in /cgi-bin/logs_smtp.cgi as detailed in vendor guidance.
Limits the impact of exploitation by enforcing least privilege for authenticated low-privilege users accessing the vulnerable web interface, reducing the privileges available for injected OS commands.
Security SummaryAI
CVE-2026-34797 is a command injection vulnerability (CWE-78) with a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) affecting Endian Firewall versions 3.3.25 and prior. The issue resides in the /cgi-bin/logs_smtp.cgi component, where the DATE parameter is used to build a file path passed directly to a Perl open() call. Incomplete regular expression validation on this parameter enables authenticated users to inject and execute arbitrary operating system commands.
Attackers require only low-privilege authenticated access to the firewall's web interface and can exploit the vulnerability remotely over the network with low complexity and no user interaction. Successful exploitation grants attackers the ability to execute arbitrary OS commands, potentially leading to full system compromise with high impacts on confidentiality, integrity, and availability.
Mitigation guidance and patch information are available in the Endian community help section at https://help.endian.com/hc/en-us/sections/360004371358-Community and the VulnCheck advisory at https://www.vulncheck.com/advisories/endian-firewall-cgi-bin-logs-smtp-cgi-date-perl-command-injection.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Command injection in web CGI (/cgi-bin/logs_smtp.cgi) enables exploitation of public-facing application (T1190) and arbitrary Unix shell command execution (T1059.004).