exploit-db-mirror/exploits/cgi/remote/20878.txt
Offensive Security 36c084c351 DB: 2021-09-03
45419 changes to exploits/shellcodes

2 new exploits/shellcodes

Too many to list!
2021-09-03 13:39:06 +00:00

10 lines
No EOL
717 B
Text

source: https://www.securityfocus.com/bid/2762/info
MIMAnet Source Viewer is a freely available CGI script which allows users to view the source code of files located elsewhere on the server.
Source Viewer accepts an argument, 'loc', which it uses as the filename when opening the requested file. Unfortunately it does not filter '..' and '/' characters, which can be misinterpreted by the script and cause files outside of the intended directory to be opened. As a result, it may be possible for attackers to view the contents of arbitrary webserver-readable files on the filesystem.
The following URL demonstrates the problem:
http://localhost/cgi-bin/viewsrc.cgi?
loc=../[any file outside restricted directory]