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

EPSS: 0.017 (75.4th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Permissions Required, x_refsource_MISC, Vendor Advisory)
  • cve@mitre.org (Permissions Required, x_refsource_MISC, 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.