Home    |    View Topics    |    Search    |    Contact Us    |   



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:
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: (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  Invision Gallery 2.0.6 ( SQL Injection )


Invision Gallery  2.0.6 ( SQL Injection )

	File   :- modules/gallery/post.php

	Line   :- 943

    Bug By :- Devil-00

    	* Welcome Back ( Security4arab ) *

            Arabian Security WebSites




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


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

    Exploit :-

    	Post New Image Then Edit POST Requset By HTTPLiveHeader


Fix :-


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




Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, LLC