QuiXplorer <= 2.3.2 (init.php) Local File Inclusion Vulnerability
A directory traversal flaw in QuiXplorer's init.php lets a remote attacker supply a lang parameter containing dot-dot sequences to include and execute arbitrary local files. This could allow execution of attacker-chosen local files on the server.
karmainsecurity.com
Published on karmainsecurity.com
Directory traversal vulnerability in .include/init.php (aka admin/include/init.php) in QuiXplorer 2.3.2 and earlier, as used in TinyWebGallery (TWG) 1.7.6 and earlier, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the lang parameter to admin/index.php.
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 lang parameter is used to build a file path without sanitising directory traversal sequences before the file is included.
Impact
An attacker could include and execute arbitrary local files on the server, which may lead to code execution.
What the attacker needed
Remote access to admin/index.php
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.
The application takes a value from the web address (the lang parameter) and uses it to build a file path without checking it. By putting dot-dot sequences in that value, an attacker can point the program at a different file on the server, and because the program then includes that file, its contents may run as code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.