Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/garethmsheldon/cve-2025-60787-detection-motioneye-rce-via-config-injection
Indicator of Compromise (IOC) ManagementContainer SecurityVulnerability AnalysisExploitationWeb SecurityThreat IntelligenceIntrusion DetectionLog Analysis
Share
GitHub
garethmsheldon/cve-2025-60787-detection-motioneye-rce-via-config-injection

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

Detection rules and YARA/KQL signatures for CVE-2025-60787, an unauthenticated RCE in motionEye via config injection, with process execution and file creation monitoring.

View Repository
338 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:

$(touch /tmp/test).%Y-%m-%d-%H-%M-%S

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


Detection Coverage

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

YARA Detection

Scan motionEye configuration directory:

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:

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

Verify version:

docker logs motioneye | grep "motionEye server"

Access Web UI:

http://127.0.0.1:9999

Login:

admin (blank password)

Repository Structure

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

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    371
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    336
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    322

Explore all tools

Browse our collection of tools

View all tools →