Arbitrary file upload in Jfinal
CVE-2019-17352
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.017 · 78.3th percentile
- Published
- 2019-10-08
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.017, 78.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/jfinal/jfinal/issues/171 (Exploit, Third Party Advisory)
- gitee.com/jfinal/cos/commit/5eb23d6e384abaad19faa7600d14c9a2f525946a (Permissions Required, Vendor Advisory)
- gitee.com/jfinal/cos/commit/8d26eec61f0d072a68bf7393cf3a8544a1112130 (Permissions Required, Vendor Advisory)