Home

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.

PUBLISHED Reserved 2026-05-05 | Published 2026-05-12 | Updated 2026-05-18 | Assigner GitHub_M




CRITICAL: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

< 4.08.010
affected

References

github.com/...efw4.X/security/advisories/GHSA-q7jx-7x5r-r9f6 exploit

github.com/...efw4.X/security/advisories/GHSA-q7jx-7x5r-r9f6

cve.org (CVE-2026-44257)

nvd.nist.gov (CVE-2026-44257)

Download JSON