SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   Invision Gallery Vendors:   Invision Power Services
Invision Gallery Input Validation Hole in 'post.php' 'album' Parameter Permtis SQL Injection
SecurityTracker Alert ID:  1016019
SecurityTracker URL:  http://securitytracker.com/id/1016019
CVE Reference:   CVE-2006-2202   (Links to External Site)
Updated:  Aug 15 2009
Original Entry Date:  May 3 2006
Impact:   Disclosure of system information, Disclosure of user information, User access via network
Exploit Included:  Yes  
Version(s): 2.0.6
Description:   A vulnerability was reported in Invision Gallery. A remote user can inject SQL commands.

The 'modules/gallery/post.php' script does not properly validate user-supplied input in the 'album' parameter. A remote user can supply a specially crafted HTTP header value to execute SQL commands on the underlying database.

Devil-00 discovered this vulnerability.

Impact:   A remote user can execute SQL commands on the underlying database.
Solution:   No solution was available at the time of this entry.
Vendor URL:  www.invisionpower.com/ip.dynamic/products/gallery/index.html (Links to External Site)
Cause:   Input validation error
Underlying OS:   Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Date:  Tue, 02 May 2006 14:35:56 +0000
Subject:  Invision Gallery 2.0.6 ( SQL Injection )

[left]

Invision Gallery  2.0.6 ( SQL Injection )


	File   :- modules/gallery/post.php

	Line   :- 943

    Bug By :- Devil-00


    	* Welcome Back ( Security4arab ) *


            Arabian Security WebSites


            	www.s4a.cc

                www.securitygurus.net


[php]

$this->ipsclass->DB->simple_construct( array( 'select' => 'COUNT(*) AS total', 'from' => 'gallery_images', 'where' => "album_id={$this->ipsclass->input['album']}"
 ) );

[/php]


    $this->ipsclass->input['album'] = Unfilter Input


    Exploit :-


    	Post New Image Then Edit POST Requset By HTTPLiveHeader


        	album=[SQL]


Fix :-


[php]

$this->ipsclass->DB->simple_construct( array( 'select' => 'COUNT(*) AS total', 'from' => 'gallery_images', 'where' => "album_id={".intval($this->ipsclass->input['album'])."}"
 ) );

[/php]

[/left]

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC