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

High 8.8 Published Updated

Attackers can inject characters into FTP password files via HTTP requests to bypass chroot restrictions on Foscam indoor cameras.

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

CVE-2017-2850 is a high-severity command injection vulnerability in Foscam Indoor IP Camera C1 Series, published on 29 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 cameras with application firmware 2.52.2.37, a specially crafted HTTP request can allow for a user to inject arbitrary characters in the pureftpd.passwd file during a username change, which in turn allows for bypassing chroot restrictions in the FTP server. 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-2850?

It affects 1 product.

Products include Foscam C1 Indoor Hd Camera Firmware.

How do I fix CVE-2017-2850?

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

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

Sources

Also known as GHSA-665v-8rgp-xwx8.

Is CVE-2017-2850 in your software?

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

Check your SBOMs for free