CVE-2017-2841 Command injection in Indoor IP Camera C1 Series

High 8.8 Published Updated

Attackers can execute arbitrary commands on Foscam C1 cameras by injecting data into the msmtprc configuration file via HTTP requests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-2841?

CVE-2017-2841 is a high-severity command injection vulnerability in Foscam Indoor IP Camera C1 Series, published on 27 Jun 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An exploitable command injection vulnerability exists in the web management interface used by the Foscam C1 Indoor HD Camera running application firmware 2.52.2.37. A specially crafted HTTP request can allow for a user to inject arbitrary data in the "msmtprc" configuration file resulting in command execution. An attacker can simply send an HTTP request to the device to trigger this vulnerability.

Weakness: CWE-78

Which versions are affected by CVE-2017-2841?

It affects 1 product.

Products include Foscam C1 Indoor Hd Camera Firmware.

How do I fix CVE-2017-2841?

No fix has been published for CVE-2017-2841 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-2841 being exploited?

There is no known exploitation of CVE-2017-2841 in the wild and no public exploit code.

Sources

Also known as GHSA-vw6q-53hh-43gj.

Is CVE-2017-2841 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free