CVE-2018-6012: Green Electronics RainMachine Mini-8 - Command Injection
- Cve: CVE-2018-6012
- Name: Green Electronics RainMachine Mini-8 - Command Injection
- Description: The 'Weather Service' feature of the Green Electronics RainMachine Mini-8 (2nd generation) allows an attacker to inject arbitrary Python code via the 'Add new weather data source' upload function.
- Impact: Attackers can execute arbitrary Python code on the device, potentially leading to full device compromise or remote control.
- Remediation: Implement proper input validation and sanitization for the upload function, and consider updating to the latest firmware version.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to upload malicious data
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01343
- Epss percentile: 0.72101
- Assignee: [email protected]
- Published at: 2018-11-01T17:29:00Z
- Age in days: 2945
- Modified at: 2026-06-17T02:01:11Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-6012
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.irongeek.com/i.php?page=videos/bsidesrdu2018/bsidesrdu-2018-07-when-it-rains-it-pours-sam-granger | nvd | 2018-11-01 |
References
| Url | Source | Tags |
|---|---|---|
| http://www.irongeek.com/i.php?page=videos/bsidesrdu2018/bsidesrdu-2018-07-when-it-rains-it-pours-sam-granger | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rainmachine:mini-8_firmware | >= 4.0.539, <= 4.0.975 | yes | nvd | /v1/products/rainmachine/mini-8_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-11-01
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts