Lucene search
K

DSECRG-08-035.txt

🗓️ 08 Aug 2008 00:00:00Reported by Digital Security Research GroupType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

Gallery system local file include vulnerability in phpBB2/modules.php. Exploits require enabled "register_globals

Code
`  
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=7239&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)  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation