WWBN AVideo image404Raw.php information disclosure vulnerability
The image404Raw.php script in AVideo takes an attacker-controlled image parameter and uses it to read and serve any file on the server. An attacker can read sensitive files such as videos/configuration.php, which contains the salt used for encryption, potentially leading to administrator privileges.
Originally disclosed on Cisco Talos
An information disclosure vulnerability exists in the image404Raw.php functionality of WWBN AVideo dev master commit 15fed957fb. A specially crafted HTTP request can lead to arbitrary file read.
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
Impact
An attacker can read any file on the webserver, including configuration files with secrets, which could lead to further privilege escalation such as administrator access.
What the attacker needed
None
The fix
The vulnerability was fixed by the vendor in a patch release.
How it was found
- Send a request to view/img/image404Raw.php with the image parameter set to videos/configuration.php.
- The server reads and returns the contents of that file.
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 web page that shows a placeholder image when a file is not found takes a filename from the user and reads that file from the server without checking if it is allowed. This means an attacker can ask for any file on the server, like a configuration file with secret keys, and see its contents. That secret can then be used to take over the site.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.