JFinal file validation vulnerability
High severity
GitHub Reviewed
Published
May 25, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Oct 8, 2019
Published to the GitHub Advisory Database
May 25, 2022
Reviewed
May 25, 2022
Last updated
Jan 27, 2023
In JFinal cos before 2019-08-13, as used in JFinal 4.4, there is a vulnerability that can bypass the isSafeFile() function: one can upload any type of file. For example, a .jsp file may be stored and almost immediately deleted, but this deletion step does not occur for certain exceptions.
References