CVE-2019-17352 JFinal file validation vulnerability
Attackers can bypass file type restrictions to upload malicious files, potentially leading to remote code execution in applications using the JFinal cos library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-17352?
CVE-2019-17352 is a high-severity vulnerability in n/a, published on 8 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-434
Which versions are affected by CVE-2019-17352?
2 open source packages ship an affected version, including com.jfinal:jfinal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.jfinal:jfinal Maven | All versions | 4.5 |
com.jfinal:jfinal Maven | All versions | 4.5 |
Products include Jfinal Jfinal.
How do I fix CVE-2019-17352?
Upgrade com.jfinal:jfinal to 4.5 or later.
Is CVE-2019-17352 being exploited?
There is no known exploitation of CVE-2019-17352 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-279p-pc38-xx4p.