Arbitrary file upload in Jfinal
CVE-2019-17352
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.
EPSS exploit prediction
EPSS: 0.017 (77.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
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)
Frequently asked questions
- What is CVE-2019-17352?
- CVE-2019-17352 is a high-severity vulnerability in Jfinal, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.5/10. Published 2019-10-08.
- How severe is CVE-2019-17352?
- High severity. CVSS v3 base score is 7.5 out of 10.