Skip to content
Leaked secrets Advisory Beginner CVE-2016-8731

Foscam C1 Webcam FTP Hard Coded Password Vulnerability

The Foscam C1 camera firmware ships with a hard-coded FTP account whose username and password are both the single letter r. Anyone who can reach the camera's FTP port can log in and read or write the files on its Micro-SD card, including recorded videos and snapshots.

Richard Harman Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

Hard-coded FTP credentials (r:r) are included in the Foscam C1 running firmware 1.9.1.12. Knowledge of these credentials would allow remote access to any cameras found on the internet that do not have port 50021 blocked by an intermediate device.

Richard Harman and Dave McDaniel, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The firmware image contains a pre-set FTP account with a trivial, identical username and password on every device, rather than a unique or user-chosen credential.

Impact

An attacker who can reach the FTP port could remotely download potentially sensitive video and snapshot data, and also write to the card; blocking the port or disabling FTP limits this.

What the attacker needed

Network access to the camera's FTP port; port 50021 not blocked by an intermediate device

The fix

Access to the FTP port should be blocked or FTP disabled entirely, as the report's mitigation states.

How it was found

  1. Connect to the camera's FTP service on its default port.
  2. Log in with the hard-coded username and password.
  3. List the directories to find the IPCamera folder and the device's recording and snapshot folders.
  4. Navigate into the record folder and pick a dated subfolder.
  5. Download a recorded video file from that folder.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The camera runs a small file server (FTP) so it can store videos on its memory card. The maker gave that server a fixed username and password that is the same on every unit, so anyone who knows it can log in. Because the account can read and write the card, a stranger could download the camera's recordings.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.