-
Bug
-
Resolution: Done
-
Major
-
2.0.30.Final
The PathResourceManager.getSymlinkBase() method tires to check parent directories in the loop:
for (int i = nameCount - 1; i>=0; i--) { if (Files.isSymbolicLink(f)) { return new SymlinkResult(i+1 > rootCount, f); } f = f.getParent(); }
So, when security manager is enabled, there is no way to grant suitable FilePermissions to this, and it will fail the security check if not <<ALL FILES>> is granted.
Propose to move the part:
Files.isSymbolicLink(f)
in a doPrivileged block once security manager is enabled.
- is incorporated by
-
JBEAP-19256 [GSS](7.2.z) UNDERTOW-1703 - WFSM000001: Permission check failed ... FilePermission when Security Manager enabled and Web App tries to forward to jsp
- Closed
-
JBEAP-19264 [GSS](7.3.z) WFLY-13392 - WFSM000001: Permission check failed ... FilePermission when Security Manager enabled and Web App tries to forward to jsp
- Closed
-
WFLY-13392 WFSM000001: Permission check failed ... FilePermission when Security Manager enabled and Web App tries to forward to jsp
- Closed
-
WFCORE-4942 Upgrade Undertow to 2.1.1.Final fixes CVE-2020-10719
- Closed