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

High 8.8 Published Updated

An attacker can execute arbitrary commands on Foscam C1 cameras by injecting data into the msmtprc configuration file via a crafted HTTP request.

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-2842?

CVE-2017-2842 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

In the web management interface in 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-2842?

It affects 1 product.

Products include Foscam C1 Indoor Hd Camera Firmware.

How do I fix CVE-2017-2842?

No fix has been published for CVE-2017-2842 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-2842 being exploited?

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

Sources

Also known as GHSA-2rr3-vw22-qpv2.

Is CVE-2017-2842 in your software?

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

Check your SBOMs for free