Fix: Virtuemart Blind SQL Injection
Written by Thomas Kahl   
Tuesday, 01 February 2011 07:35
201102010754.jpg

An hour ago packetstormsecurity has published a Virtuemart security problem over twitter. You can find the full description here: http://packetstormsecurity.org/files/view/98032/joomlavirtuemart116-sql.txt

From a first check it seems, that the problem is an unchecked variable used in the internal Virtuemart search. You can fix this by replacing the following line in /components/com_virtuemart/virtuemart.php (should be around line 35)

$search_category= vmRequest::getVar( 'search_category' );

with this one:

$search_category= vmRequest::getInt( 'search_category' );

This makes sure, that the parameter "search_category" is always an integer.

If there are other things affected by this security hole, i'll update this post.

Trackback(0)
Comments (1)Add Comment

Write comment
smaller | bigger

security code
Write the displayed characters


busy
 

Blog Newsletter

Blog RSS-Feed Click here

Subscribe to our Blog Newsletter

Enter your email address:

Delivered by FeedBurner