Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable authenticated user (PR:L) bypasses the read-only control with low complexity; full file read/write yields C:H/I:H, while availability is not the primary impact so A:N.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
efw4.X is an Enterprise Framework for Web. Prior to 4.08.010, the readonly flag set on the <efw:elFinder> JSP tag is intended to prevent file modifications. When protected=true, elfinder_checkRisk enforces that the client sends readonly=true (matching the session value), but no event handler checks the readonly value before performing write operations. The flag only controls client-side UI elements (disabling buttons) and response metadata (write: 0, locked: 1). An attacker who sends requests directly (bypassing the UI) can perform all file operations despite readonly=true. This vulnerability is fixed in 4.08.010.
AnalysisAI
Authorization bypass in efw4.X (Enterprise Framework for Web) before 4.08.010 lets an authenticated user defeat the elFinder read-only protection and perform full file operations. Although the <efw:elFinder> JSP tag with protected=true validates that the client sends readonly=true, no server-side event handler checks that value before executing writes, so the flag only disables UI buttons and sets response metadata (write: 0, locked: 1). SSVC rates technical impact as total and a proof-of-concept exists, though EPSS is very low (0.03%) and there is no public weaponization identified at time of analysis.
Technical ContextAI
The affected component is the elFinder integration exposed through efw4.X's <efw:elFinder> JSP tag. elFinder is a web-based file manager whose backend connector handles commands such as mkdir, rm, rename, upload, and put over HTTP. In efw4.X the intended read-only enforcement (elfinder_checkRisk) validates a client-supplied readonly=true parameter against the session when protected=true, but this check is advisory: it gates a risk check, not the command handlers themselves. The write, mkfile, rm and similar handlers never consult the readonly state, so authorization is enforced only in the client UI (disabled buttons) and in response metadata. This maps to CWE-863 (Incorrect Authorization): a security decision is made but on the wrong side of the trust boundary, letting the client simply not honor it. The affected package is identified by CPE cpe:2.3:a:efwgrp:efw4.x, and EUVD lists all versions below 4.08.010.
RemediationAI
Vendor-released patch: upgrade efw4.X to 4.08.010 or later, which adds server-side enforcement of the read-only state in the command handlers, as described in the GitHub advisory https://github.com/efwGrp/efw4.X/security/advisories/GHSA-5454-qhrf-vcvh. If you cannot upgrade immediately, do not rely on the readonly/protected UI flag for security: restrict access to the elFinder connector endpoint to trusted authenticated operators only (for example via reverse-proxy path or IP allow-listing), which prevents low-trust users from reaching the writable commands at the cost of blocking legitimate remote file-manager use. Alternatively, enforce read-only access at the filesystem or OS permission layer for the directories elFinder exposes, so write and delete commands fail regardless of the application flag, with the trade-off that legitimate write features are disabled until patched. Removing or disabling the <efw:elFinder> tag on pages that are meant to be read-only fully eliminates the exposure where the feature is not required.
Arbitrary file write leading to unauthenticated remote code execution affects efw4.X (Enterprise Framework for Web) prio
Arbitrary file relocation in efwGrp's efw4.X Enterprise Framework for Web before 4.08.010 lets remote attackers copy or
Stored cross-site scripting in efw4.X's previewServlet allows authenticated low-privilege users to cause arbitrary JavaS
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-29845