Description
It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Unomi | unspecified – < 1.5.2 | 1.5.2 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 9 repositories
-
eugenebmx/CVE-2020-13942 ★ 28 · Nov 19, 2020
CVE-2020-13942 unauthenticated RCE POC through MVEL and OGNL injection
-
shifa123/CVE-2020-13942-POC- ★ 8 · Nov 20, 2020
CVE-2020-13942 POC + Automation Script
-
lp008/CVE-2020-13942 ★ 6 · Nov 18, 2020
-
yaunsky/Unomi-CVE-2020-13942 ★ 4 · Dec 22, 2020
CVE-2020-13942 Apache Unomi 远程代码执行漏洞脚getshell
-
blackmarketer/CVE-2020-13942 ★ 3 · Nov 21, 2020
-
CyberCTF/vulhub-unomi-cve-2020-13942 ★ 0 · Oct 8, 2026
Vulhub unomi/CVE-2020-13942: Apache Unomi MVEL/OGNL Injection RCE (CVE-2020-13942), run with Isoloom
-
corsisechero/CVE-2020-13942byVulHub ★ 0 · Apr 2, 2025
-
Prodrious/CVE-2020-13942 ★ 0 · Sep 5, 2021
-
dev-team-12x/apche_unomi_rce ★ 0 · Jan 11, 2021
Apache Unomi CVE-2020-13942: RCE Vulnerabilities
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache Unomi <1.5.2 - Remote Code Execution http/cves/2020/CVE-2020-13942.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.unomi:unomi | < 1.5.2 | 1.5.2 | GHSA-xp5j-wj4h-2jq9 |
References
- http://unomi.apache.org./security/cve-2020-13942.txt
- [unomi-dev] 20201124 CVE-2020-13942: Remote Code Execution in Apache Unomi mailing-list
- [unomi-users] 20201124 CVE-2020-13942: Remote Code Execution in Apache Unomi mailing-list
- [unomi-users] 20201124 Apache Unomi 1.5.4 Release mailing-list
- [unomi-dev] 20201124 Apache Unomi 1.5.4 Release mailing-list
- [oss-security] 20201124 CVE-2020-13942: Remote Code Execution in Apache Unomi mailing-list
- [announce] 20201124 CVE-2020-13942: Remote Code Execution in Apache Unomi mailing-list
- https://advisory.checkmarx.net/advisory/CX-2020-4284
- [unomi-commits] 20210428 svn commit: r1889256 - in /unomi/website: contribute-release-guide.html documentation.html download.html index.html security/cve-2021-31164.txt mailing-list