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.
Originally disclosed on Cisco Talos
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.
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
- Connect to the camera's FTP service on its default port.
- Log in with the hard-coded username and password.
- List the directories to find the IPCamera folder and the device's recording and snapshot folders.
- Navigate into the record folder and pick a dated subfolder.
- 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.