Lucene search

K
exploitdbPestilenceEDB-ID:20218
HistorySep 10, 2000 - 12:00 a.m.

YaBB 9.1.2000 - Arbitrary File Read

2000-09-1000:00:00
pestilence
www.exploit-db.com
34

AI Score

7.4

Confidence

Low

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

YaBB.pl, a web-based bulletin board script, stores board postings in numbered text files. The numbered file name is specified in the call to YaBB.pl in the variable num=<file>. Before retrieving the file, YaBB will append a .txt extension to <file>.

Due to input validation problems in YaBB, relative paths can be specified in <file>. This includes ../ style paths.

Additionally, <file> does not need to be numerical, and the .txt extension can be avoided by appending %00 to <file>.

By exploiting these problems in a single request, a malicious user can view any file that the webserver has access to.

http://www.my_target.com/cgi-bin/YaBB.pl?board=news&action=display&num=../../../../../../../../etc/passwd%00

AI Score

7.4

Confidence

Low

Related for EDB-ID:20218