The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


Invision Gallery 2.0.6 ( SQL Injection )


<< Previous INDEX Search src / Print Next >>
Date: 2 May 2006 14:35:56 -0000
From: [email protected]
To: [email protected]
Subject: Invision Gallery  2.0.6 ( SQL Injection )
X-Virus-Scanned: antivirus-gw at tyumen.ru

[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]


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру