openSIS <= 7.4 (Bottom.php) Local File Inclusion Vulnerability
The Bottom.php script in openSIS 7.4 and earlier includes a file path built from the modname request parameter without proper sanitisation. An attacker could use this to include local files on the server, potentially exposing sensitive information or executing code.
karmainsecurity.com
Published on karmainsecurity.com
User input passed through the “modname” request parameter is not properly sanitized before being used in a call to the include() function at line 45. This can be exploited to include arbitrary local files and potentially access otherwise restricted functionalities or execute arbitrary PHP code with the permissions of…
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
What the attacker needed
Access to the Bottom.php script; modfunc parameter set to 'print'
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.
A file inclusion bug happens when a web page takes a filename from the user and uses it to load a file without checking it. Here, the modname parameter is placed directly into an include() call, so an attacker could point it at other files on the server. This might let them read private files or, in some setups, run their own code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.