Peplink Smart Reader web interface /cgi-bin/debug_dump.cgi information disclosure vulnerability
The web interface of Peplink Smart Reader v1.2.0 exposes an unauthenticated endpoint that generates a diagnostic archive containing sensitive files. An attacker can request this endpoint to obtain the archive, decode it, and access information such as the administrative username and MD5 password hash.
Originally disclosed on Cisco Talos
An information disclosure vulnerability exists in the web interface /cgi-bin/debugdump.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 CGI script that generates the diagnostic archive does not implement any authentication check.
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 HTTP request to the /cgi-bin/debug_dump.cgi endpoint on the device's web server.
- Download the resulting archive.
- Decode the archive by XORing each byte with 0x32, then decompress and extract it.
- Read the sensitive files, including the administrative username and MD5 password hash.
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 device has a web page that creates a troubleshooting file with lots of system details. Anyone can download that file without logging in, and it contains the admin username and a scrambled form of the password. This means an attacker could get those details and try to break the password offline.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.