File inclusion in Gallery "1.5.7 / 1.6-alpha3"

2008-08-09 / 2008-08-11
Credit: DSecRG
Risk: High
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

~Digital Security Research Group [DSecRG] Advisory Application: Gallery Versions Affected: 1.5.7, 1.6-alpha3 Vendor URL: http://gallery.menalto.com/ //Description Gallery system has local file include vulnerability in script contrib/phpBB2/modules.php Successful exploitation requires that "register_globals" is enabled. //Code switch ($_REQUEST['op']) { case 'modload': // Added with changes in Security for PhpBB2. define('IN_PHPBB', true); define ("LOADED_AS_MODULE","1"); $phpbb_root_path = "./"; // connect to phpbb include_once($phpbb_root_path . 'extension.inc'); include_once($phpbb_root_path . 'common.'.$phpEx); include_once($phpbb_root_path . 'includes/functions.'.$phpEx); //Example: http://[server]/[installdir]/contrib/phpBB2/modules.php?op=modload&phpEx =../../../../../../../../../../../../../etc/passwd //Solution Vendor fix this flaw on 05.08.2008. Download Gallery 1.5.8 and 1.6-RC1 from download page on SourceForge: http://sourceforge.net/project/showfiles.php?group_id=7130&package_id=72 39&abmode=1 //About Digital Security is leading IT security company in Russia, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards. Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website. //Gr33tZ : to all my friends & muslim hackerz

References:

http://gallery.menalto.com/


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