How Misconfigured and Vulnerable Devices Could Expose Your Company to Physical and Cyber Threats
A biometric attendance device's web interface used default credentials and exposed backup files without authentication, allowing an attacker to add a user and download backups containing hard-coded root credentials. With those credentials, an attacker could log in via telnet as root and take any action on the device, including retrieving photos of the check-in process.
Published on blog.pretera.com
Recently, we were given the mission to conduct an internal and wireless security assessment for one of our clients. Following the discovery of vulnerabilities in their network security and the acquisition of access to their wireless infrastructure, we were able to carry out remote network scanning of their internal…
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the web application relied on default credentials and failed to enforce authentication on the backup download endpoint, while also storing root credentials in cleartext inside backup files.
Impact
An attacker could add unauthorised users, gain root access to the device, and retrieve sensitive data such as check-in photos; the text notes the door-opening feature was not yet in use, so physical access was only hypothetical.
What the attacker needed
Network access to the device; default credentials unchanged; device reachable on the network
The fix
The text does not state that the issues were fixed; it recommends changing default credentials, enforcing strong passwords, patching firmware, and monitoring devices.
How it was found
- Log in to the web interface using default credentials.
- Add a new user with a chosen Card ID.
- Use an RFID emulator to imitate the card at the entrance door.
- Download the system backup file from the web interface.
- Change the file extension and extract the archive.
- Read the configuration file to obtain cleartext root credentials.
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 write-up has not been written yet. The Original tab links to the source.
A biometric device is a machine that reads fingerprints or cards to record when employees arrive at work. Its web page let anyone download a backup file without logging in, and that file contained the device's master password. Anyone who found the device could use that password to take full control of it.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.