8.8high
A remote code execution (RCE) vulnerability was discovered in the htmlformentry (aka HTML Form Entry) module before 3.11.0 for OpenMRS.
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 3.15% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| openmrs htmlformentry | before 3.11.0 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se detectó una vulnerabilidad de ejecución de código remota (RCE) en el módulo htmlformentry (también se conoce como HTML Form Entry) versiones anteriores a 3.11.0 para OpenMRS. Al aprovechar un salto de ruta, un archivo Velocity Template Language malicioso podría ser escrito en un directorio.  Este archivo luego podría ser accedido y ejecutado
References
| https://github.com/openmrs/openmrs-module-htmlformentry/pull/178 | patch, third-party-advisory | |
| https://issues.openmrs.org/browse/HTML-730 | vendor-advisory | |
| https://github.com/openmrs/openmrs-module-uiframework/pull/59 | patch, third-party-advisory | |
| https://www.contrastsecurity.com/security-influencers | third-party-advisory | |
| https://www.contrastsecurity.com/security-influencers/authenticated-remote-code-execution-openmrs | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-24621 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-24621 changed 2026-06-17 | Public domain |