Lucene search

K
exploitdbJoetestaEDB-ID:20878
HistoryMay 23, 2001 - 12:00 a.m.

mimanet source viewer 2.0 - Directory Traversal

2001-05-2300:00:00
joetesta
www.exploit-db.com
18

AI Score

7.4

Confidence

Low

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] 

AI Score

7.4

Confidence

Low

Related for EDB-ID:20878