Lucene search

K
exploitdbCerberus Security TeamEDB-ID:19808
HistoryMar 14, 2000 - 12:00 a.m.

Generation Terrorists Designs & Concepts Sojourn 2.0 - File Access

2000-03-1400:00:00
Cerberus Security Team
www.exploit-db.com
30

AI Score

7.4

Confidence

Low

source: https://www.securityfocus.com/bid/1052/info

Any file that the webserver has read access to can be read on a server running the Sojourn search engine.

The Sojourn software includes the ability to organize a website into categories. These categories can then be accessed via the sojourn.cgi Perl script. This is done by making a request for a URL like:

http ://target/cgi-bin/sojourn.cgi?cat=categoryname

Each category has an associated .txt file based on the category name. The program appends the .txt extension onto the contents of the 'cat' variable. However, the program will accept and follow the '../' string in the variable contents, allowing read access to any .txt file the webserver can read.

This restriction can be bypassed by appending %00 to the end of the requested file, which will prevent the .txt extension from being used in the filename.

http ://target/cgi-bin/sojourn.cgi?cat=../../../../../../etc/passwd%00

AI Score

7.4

Confidence

Low

Related for EDB-ID:19808