CVE-2026-44257

efw4.X: RCE via zipslip

Published May 12, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
efw4.X is an Enterprise Framework for Web. Prior to 4.08.010, efw.file.FileManager.unZip writes zip entries to disk using new File(baseDir, zipEntry.getName()) with no canonical-path check. An entry name such as ../../../pwned.jsp escapes the intended extraction directory and lands anywhere the Tomcat process can write — including the servlet context root. Combined with the framework's multipart /uploadServlet and an event that calls file.saveUploadFiles + FileManager.unZip, a remote attacker with no credentials drops a JSP webshell and executes arbitrary commands as the Tomcat user. This vulnerability is fixed in 4.08.010.

Analysis

AI-generated

Technical impact

The vulnerability arises from efw4.X’s unZip method which writes extracted files directly to disk using the raw zip entry names. The flaw is a classic directory traversal vulnerability (CWE-77). A crafted entry such as '../../../pwned.jsp' allows the file to be created outside the intended extraction folder, including inside the web application’s context root. When this flaw is combined with the framework’s uploadServlet, which triggers file.saveUploadFiles followed by unZip, a remote attacker who can upload a file—even without authentication—can drop a malicious JSP webshell into the Tomcat webapps directory and execute arbitrary commands with the Tomcat process’s privileges.

Affected Systems

efwGrp efw4.X versions prior to 4.08.010 are affected. The issue is fixed in 4.08.010 and later releases.

Risk and Exploitability

The CVSS score of 9.3 marks this as critical. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog, but the lack of authentication on the upload endpoint and the ability to write executable content make exploitation highly likely once an attacker can reach the endpoint. Attackers can achieve full control of the host as the Tomcat user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade efw4.X to version 4.08.010 or later, which adds canonical‑path checks to prevent zip slip.
  • If an upgrade is not immediately possible, restrict the uploadServlet so that only authenticated users can submit files and validate that all extracted paths are confined to the intended directory.
  • Temporarily configure Tomcat to deny write access or JSP execution in the webapps directory for untrusted uploads, thereby limiting the attacker’s ability to deploy a webshell.

Generated by OpenCVE AI on May 12, 2026 at 23:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Efwgrp
Efwgrp efw4.x
Vendors & Products Efwgrp
Efwgrp efw4.x
Type Values Removed Values Added
Description efw4.X is an Enterprise Framework for Web. Prior to 4.08.010, efw.file.FileManager.unZip writes zip entries to disk using new File(baseDir, zipEntry.getName()) with no canonical-path check. An entry name such as ../../../pwned.jsp escapes the intended extraction directory and lands anywhere the Tomcat process can write — including the servlet context root. Combined with the framework's multipart /uploadServlet and an event that calls file.saveUploadFiles + FileManager.unZip, a remote attacker with no credentials drops a JSP webshell and executes arbitrary commands as the Tomcat user. This vulnerability is fixed in 4.08.010.
Title efw4.X: RCE via zipslip
Weaknesses CWE-77
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 18, 2026, 2:57 PM
Reserved
May 5, 2026, 4:33 PM
Status
Deferred
Published
May 12, 2026, 10:16 PM
Modified
Oct 26, 2026, 2:10 PM