lists.openwall.net   lists  /  announce  john-users  owl-users  popa3d-users  /  xvendor  oss-security  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4 
Open Source and information security mailing list archives
 
This website is powered by Openwall GNU/*/Linux security-enhanced OS
[<prev] [next>] [month] [year] [list]
Date: 1 Dec 2006 06:10:49 -0000
From: emin@...anov.com
To: bugtraq@...urityfocus.com
Subject: Re: Invision Community Blog Mod 1.2.4 .PHP SQL Injection
 Vulnerability

Thanks for sharing!

Quick fix is to edit file forum/modules/blog/lib/entry_reply_entry.php

and change the following code (line 52 for me)
'where'	=>	"entry_id = {$this->ipsclass->input['eid']}"							
to
						   'where'	=>	"entry_id = '".intval($this->ipsclass->input['eid'])."'"

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux