Command execution via unquoted curl argument
Published Apr 23, 2020 · Updated Sep 17, 2024
Command injection in Netatmo Smart Indoor Camera before 4.2.5 allows attackers to execute commands through its webserver. The dtg_get_config.sh script passes the user-controlled mac_address value to curl without quoting it, so shell expansion and word splitting create arbitrary curl arguments and permit a file write. Reachability requires the camera's secret local path or account access through its VPN connection, and the written script runs as webserver UID 1000 and GID 3003.
Summary
What happened
Command injection in Netatmo Smart Indoor Camera before 4.2.5 allows attackers to execute commands through its webserver. The dtg_get_config.sh script passes the user-controlled mac_address value to curl without quoting it, so shell expansion and word splitting create arbitrary curl arguments and permit a file write. Reachability requires the camera's secret local path or account access through its VPN connection, and the written script runs as webserver UID 1000 and GID 3003.
The record
- CVE
- CVE-2019-17101
- Published
- Apr 23, 2020
- Updated
- Sep 17, 2024
- Vendor
- Netatmo
- Product
- Smart Indoor Camera
- Classifications
- CWE-77, T1059.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 23, 2020CVE publishedPublication date reported by the CVE source.
- Sep 17, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <4.2.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Bitdefender curl-argument file-write proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo