Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-60787-Detection-motionEye-RCE-via-Config-Injection | Kitploit
Tools/GitHubGitHub/garethmsheldon/cve-2025-60787-detection-motioneye-rce-via-config-injection
Indicator of Compromise (IOC) ManagementContainer SecurityVulnerability AnalysisExploitationWeb SecurityThreat IntelligenceIntrusion DetectionLog Analysis

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
GitHub
garethmsheldon/cve-2025-60787-detection-motioneye-rce-via-config-injection

CVE-2025-60787-Detection-motionEye-RCE-via-Config-Injection

View Repository
5 months agoNot yet reviewed

README.md

CVE-2025-60787 Detection: motionEye RCE via Config Injection

EDB-ID: 52481 CVE: 2025-60787

Unauthenticated Remote Code Execution in motionEye <= 0.43.1b4


Vulnerability Overview

This repository contains detection rules for CVE-2025-60787, an unauthenticated RCE vulnerability in motionEye.

Exploitation Method

Payload injected into:

  • Settings -> Still Images -> Image File Name

Example PoC payload:

root@kitploit:~
$(touch /tmp/test).%Y-%m-%d-%H-%M-%S

When motion restarts, the shell command executes and creates /tmp/test.


Detection Coverage


YARA Detection

Scan motionEye configuration directory:

root@kitploit:~
yara -r rules/yara/motioneye_rce_cve_2025_60787.yar /etc/motioneye/

KQL Detection (Microsoft Sentinel / Defender)

Queries included:

  • 01_web_request_js_bypass_and_shell_payload.kql
  • 02_process_execution_shell_spawned_by_motion.kql
  • 03_file_creation_tmp_by_motion_process.kql
  • 04_docker_exec_and_syslog_motioneye.kql
  • 05_threat_hunting_motioneye_config_file_changes.kql

Testing

Start vulnerable container:

root@kitploit:~
docker run -d --name motioneye -p 9999:8765 ghcr.io/motioneye-project/motioneye:edge

Verify version:

root@kitploit:~
docker logs motioneye | grep "motionEye server"

Access Web UI:

root@kitploit:~
http://127.0.0.1:9999

Login:

root@kitploit:~
admin (blank password)

Repository Structure

root@kitploit:~
cve-2025-60787-detection/
├── README.md
├── LICENSE
├── .gitignore
├── rules/
│   ├── yara/
│   │   └── motioneye_rce_cve_2025_60787.yar
│   └── kql/
│       ├── 01_web_request_js_bypass_and_shell_payload.kql
│       ├── 02_process_execution_shell_spawned_by_motion.kql
│       ├── 03_file_creation_tmp_by_motion_process.kql
│       ├── 04_docker_exec_and_syslog_motioneye.kql
│       └── 05_threat_hunting_motioneye_config_file_changes.kql
└── docs/
    └── iocs.md

References

  • Exploit-DB ID: 52481
  • CVE-2025-60787
  • motionEye Project

Credits

RoleAuthor
Vulnerability Discovery & PoCprabhatverma47
Detection EngineeringSecurity Research Community

License

MIT License - See LICENSE file.

Download Tool
IDDetection NameDescription
01Web Request DetectionIdentifies JS bypass attempts and shell payloads
02Process ExecutionDetects motion spawning shell processes
03File CreationDetects suspicious files in /tmp
04Docker/SyslogMonitors container activity
05Threat HuntingDetects configuration tampering