Peplink Smart Reader web interface /cgi-bin/download_config.cgi information disclosure vulnerability
The web interface of the Peplink Smart Reader device exposes an unauthenticated endpoint that downloads the device's active configuration file. An attacker can make a simple HTTP request to obtain sensitive information such as the administrative username, password hash, and network credentials.
Originally disclosed on Cisco Talos
An information disclosure vulnerability exists in the web interface /cgi-bin/downloadconfig.cgi functionality of Peplink Smart Reader v1.2.0 (in QEMU). A specially crafted HTTP request can lead to a disclosure of sensitive information.
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 endpoint /cgi-bin/download_config.cgi lacks any authentication check, allowing unauthenticated users to download the configuration file.
Impact
An unauthenticated attacker could obtain sensitive configuration data, including the administrative username and an MD5 hash of the password, potentially wireless network credentials, and network configuration details.
What the attacker needed
Network access to the device's web interface
The fix
The vendor released new firmware versions to address the vulnerability.
How it was found
- Send an unauthenticated HTTP request to the /cgi-bin/download_config.cgi endpoint.
- The device copies the active configuration file, archives and encodes it, and returns it in the response.
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.
This device has a web page that lets anyone download its configuration file without logging in. The configuration file contains sensitive details like the admin username and a scrambled version of the password, plus network settings. An attacker just needs to send a request to that page to get the file.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.