PoC Trend Micro Deep Security Agent (CVE-2022-23119, CVE-2022-23120) This repository contains proof of concept (PoC) bash scripts to perform the attacks described in MZ-21-02.
- Download Deep Security Agent 20.0.0-2740 for Ubuntu_20.04-x86_64 (20 LTS Update 2021-07-29)
- Verify SHA256 checksum:
183ea8a2240028aa9cfedd3f3733c9ff61aa108d8a456855f79256463530567b
unzip Agent-Ubuntu_20.04-20.0.0-2921.x86_64.zip
dpkg -i Agent-Core-Ubuntu_20.04-20.0.0-2921.x86_64.deb
- Locate the file
/opt/ds_agent/lib/dsa_core.so
and transfer it to a different machine in the same network - On this remote machine run
./poc_file_read.sh
demonstrating an attack.
- Download either (both versions are vulnerable)
- Deep Security Agent 20.0.0-2740 for Ubuntu_20.04-x86_64 (20 LTS Update 2021-07-29):
183ea8a2240028aa9cfedd3f3733c9ff61aa108d8a456855f79256463530567b
- Deep Security Agent 20.0.0-2921 for Ubuntu_20.04-x86_64 (20 LTS Update 2021-08-30):
3f10d2be96b167151c471399e158fe6ac5268d2babc0d188d52b5974b4d50b21
- Deep Security Agent 20.0.0-2740 for Ubuntu_20.04-x86_64 (20 LTS Update 2021-07-29):
- Run
./poc_priv_esc.sh
locally as an unprivileged user