CVE-2025-60787: MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as im...
MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as image_file_name. Unsanitized user input is written to Motion configuration files, allowing remote authenticated attackers with admin access to achieve code execution when Motion is restarted.
Security readout for executives and security teams
Plain-English summary
MotionEye versions v0.43.1b4 and earlier are reported vulnerable to command injection through configuration values. An authenticated administrator could place unsafe input into settings that MotionEye writes into Motion configuration files, leading to code execution when Motion restarts.
Executive priority
Prioritize remediation for any exposed or shared-admin MotionEye deployments. The requirement for admin privileges lowers broad internet risk, but successful abuse can produce full code execution on the host.
Technical view
The CVE describes improper input handling and output encoding in configuration parameters such as image_file_name. The flaw maps to CWE-20, CWE-116, and CWE-78, with CVSS 3.1 score 7.2. Exploitation requires network access and high privileges, but no user interaction.
Likely exposure
Exposure is most likely in MotionEye deployments at v0.43.1b4 or earlier where admin access is reachable over the network. The CVE metadata does not provide vendor CPEs or a complete affected-product matrix.
Exploitation context
The source bundle includes a public GitHub reference, but CISA KEV is false and no cited source states active exploitation. The described attacker must already have authenticated admin access and execution occurs when Motion is restarted.
Researcher notes
Evidence is limited to CVE metadata and the linked public repository. No official patch, commit, or vendor advisory is named in the provided sources, so remediation should be validated against current MotionEye maintainer guidance.
Mitigation direction
Check MotionEye project guidance for a fixed release or official mitigation.
Restrict MotionEye admin access to trusted users and networks.
Review admin accounts and rotate credentials if compromise is suspected.
Inspect Motion configuration values for unexpected or unsafe content.
Avoid restarting Motion until configuration integrity is reviewed.
Validation and detection
Inventory MotionEye instances and record deployed versions.
Identify systems running v0.43.1b4 or earlier.
Confirm whether admin interfaces are network-accessible.
Review recent configuration changes by admin users.
Check logs around Motion restarts for suspicious behavior.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-116: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.