
CVE-2020-13942 Apache Unomi 远程代码执行漏洞脚getshell
Apache Unomi is an open-source Java data platform, a Java server designed to manage data of customers, prospects, and visitors, and to help personalize customer experiences. Unomi can be used to integrate personalization and profile management in very different systems (e.g., CMS, CRM, issue trackers, native mobile applications, etc.).
In versions prior to Apache Unomi 1.5.1, an attacker can send malicious requests using carefully crafted MVEL or OGNL expressions, causing the Unomi server to execute arbitrary code.
This vulnerability is assigned CVE-2020-13942, with a severity level of High and a CVSS score of 7.2.
Apache Unomi < 1.5.2
https://github.com/vulhub/vulhub/tree/master/unomi/CVE-2020-13942
Execute system commands remotely
Reverse shell
Note: When using reverse shell, the command needs to be encoded. Encoding address:
Execute system commands
python3 UnomiExp.py --url http://127.0.0.1/ --cmd "command" Use double quotes to enclose the command.

Reverse shell
The attacking machine uses nc to listen on a port, and executes commands through the script to get a reverse shell.
