Wavlink AC3000 testsave.sh Information Disclosure vulnerability
The testsave.sh script in the router's web directory dumps the system log file without requiring authentication. An attacker can browse to the script and download the log, which may contain sensitive information.
Originally disclosed on Cisco Talos
An information disclosure vulnerability exists in the testsave.sh functionality of Wavlink AC3000 M33A8.V5030.210505. 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 web server is configured to execute any .cgi or .sh file in the cgi-bin directory without authentication, and the testsave.sh script outputs the system log.
Impact
An unauthenticated attacker could download the system log, which may reveal sensitive information about the device.
What the attacker needed
Network access to the router's web interface
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.
A router runs a small web server that serves its administration pages. One of the files in that web server's folder is a script that, when opened, sends back the router's system log. Because the web server is set up to run any script in that folder without checking who is asking, anyone who knows the file's address can download the log. The log may contain details about the router's operation that should not be public.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.