CVE-2020-24621 Path traversal in n/a
Attackers can exploit path traversal in the HTML Form Entry module to write and execute malicious Velocity templates, achieving remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-24621?
CVE-2020-24621 is a high-severity path traversal vulnerability in n/a, published on 25 Sep 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A remote code execution (RCE) vulnerability was discovered in the htmlformentry (aka HTML Form Entry) module before 3.11.0 for OpenMRS. By leveraging path traversal, a malicious Velocity Template Language file could be written to a directory. This file could then be accessed and executed.
Weakness: CWE-22
Which versions are affected by CVE-2020-24621?
It affects 1 product.
Products include Openmrs Htmlformentry.
How do I fix CVE-2020-24621?
No fix has been published for CVE-2020-24621 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-24621 being exploited?
There is no known exploitation of CVE-2020-24621 in the wild and no public exploit code.
Sources
Also known as GHSA-r22g-hfmg-72m8.