Exploit YaBB 9.1.2000 - Arbitrary File Read

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
20218
Проверка EDB
  1. Пройдено
Автор
PESTILENCE
Тип уязвимости
REMOTE
Платформа
CGI
CVE
cve-2000-0853
Дата публикации
2000-09-10
Код:
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
 
Источник
www.exploit-db.com

Похожие темы