.. / CVE-2023-26035

Exploit for ZoneMinder Snapshots - Command Injection (CVE-2023-26035)

Description:

ZoneMinder is a free, open source Closed-circuit television software application for Linux which supports IP, USB and Analog cameras.Versions prior to 1.36.33 and 1.37.33 are vulnerable to Unauthenticated Remote Code Execution via Missing Authorization. There are no permissions check on the snapshot action, which expects an id to fetch an existing monitor but can be passed an object to create a new one instead. TriggerOn ends up calling shell_exec using the supplied Id.

Nuclei Template

View the template here CVE-2023-26035.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2023/CVE-2023-26035.yaml
Copy

References:

https://github.com/rvizx/CVE-2023-26035
https://www.rapid7.com/db/modules/exploit/unix/webapp/zoneminder_snapshots/
https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-72rg-h4vf-29gr
https://packetstormsecurity.com/files/175675/ZoneMinder-Snapshots-Command-Injection.html
https://nvd.nist.gov/vuln/detail/CVE-2023-26035