Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 17, 2012
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: herbet_james
New Today: 0
New Yesterday: 2
Overall: 8190

People Online:
Visitors: 226
Members: 0
Total: 226
milw0rm
·[webapps / 0day] - QuickBlog v0.8 CMS - Multiple Web Vulnerabilities
·[webapps / 0day] - NetBill Billing System v1.2 - Multiple Web Vulnerabilites
·[dos / poc] - Chevereto nb1.91 Denial Of Service
·[local exploits] - Adobe Photoshop CS5.1 U3D.8BI Collada Asset Elements Stack Overflow
·[webapps / 0day] - Travelon Express CMS v6.2.2 - Multiple Web Vulnerabilities
·[webapps / 0day] - Chevereto Upload Script Cross Site Scripting / User Enumeration
·[webapps / 0day] - Access Bank PLC SQL injection Vulnerability
·[webapps / 0day] - Kerio WinRoute Firewall Web Server < 6 Source Code Disclosure
·[webapps / 0day] - eLearning Server 4G Multiple Remote Vulnerabilities
·[webapps / 0day] - lucid design Blind sql Injection Vulnerability

read more...
PacketStorm News
·Debian Security Advisory 2670-1
·Red Hat Security Advisory 2012-0570-01
·Microsoft Security Bulletin Re-Releases For May, 2012
·Debian Security Advisory 2469-1
·EMC Documentum Information Rights Management Denial Of Service
·Mandriva Linux Security Advisory 2012-073
·Red Hat Security Advisory 2012-0569-01
·Red Hat Security Advisory 2012-0568-01
·Mandriva Linux Security Advisory 2012-072
·Mandriva Linux Security Advisory 2012-071

read more...
[waraxe-2008-SA#069] - Multiple Sql Injection in vBulletin 3.7.4





Author: Janek Vind "waraxe"
Date: 17. November 2008
Location: Estonia, Tartu
Web: http://www.waraxe.us/advisory-69.html


Description of vulnerable software:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vBulletin (abbreviated as vB) is a commercial Internet forum software produced
by Jelsoft Enterprises. It is written in PHP using a MySQL database server.
vBulletin is a professional, affordable community forum solution. Thousands of
clients, including many industry leading blue chip companies, have chosen
vBulletin - It's the ideal choice for any size of community.

Web: http://www.vbulletin.com/


List of found vulnerabilities
===============================================================================

1. Sql Injection in "admincp/verify.php"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Impact: low
Preconditions: attacker must have admin account with Human Verification Manager
administer privileges


[---------- source code snippet start ----------]
if ($_POST['do'] == 'updateanswer')
{
$vbulletin->input->clean_array_gpc('p', array(
'answer' => TYPE_STR,
));
...
$db->query_write("
UPDATE " . TABLE_PREFIX . "hvanswer
SET answer = '" . $vbulletin->GPC['answer'] . "'
WHERE answerid = " . $vbulletin->GPC['answerid']
);
[----------- source code snippet end -----------]

It appears, that user submitted parameter "answer" is not properly sanitized
before using in sql query. As result sql injection is possible. Test will
induce sql error message:

Invalid SQL:
UPDATE vb_hvanswer
SET answer = 'war'axe'
WHERE answerid = 1;


2. Sql Injection in "admincp/attachmentpermission.php"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Impact: low
Preconditions: attacker must have admin account with Attachment Permissions
Manager administer privileges

As in previous case, user submitted parameter, this time it's "extension", is
used in sql query without proper snaitization. This results sql injection
vulnerability. For test log in as admin with needed privileges and then issue
GET request (using proper URI instead if example):

http://localhost/vbulletin374/admincp/attachmentpermission.php?do=edit&extension=war'axe

This results with error message from vBulletin:

Database error in vBulletin 3.7.4:
Invalid SQL:

SELECT size, width, height
FROM attachmenttype
WHERE extension = 'war'axe';


3. Sql Injection in "admincp/image.php"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Impact: low
Preconditions: attacker must have admin account with Avatars administer privileges

[---------- source code snippet start ----------]
if ($_POST['do'] == 'updatepermissions')
{
$vbulletin->input->clean_array_gpc('p', array(
'iperm' => TYPE_ARRAY,
'imagecategoryid' => TYPE_INT
));
...
foreach($vbulletin->GPC['iperm'] AS $usergroupid => $canuse)
{
if ($canuse == 0)
{
$db->query_write("
INSERT INTO " . TABLE_PREFIX . "imagecategorypermission
(
imagecategoryid,
usergroupid
)
VALUES
(
" . $vbulletin->GPC['imagecategoryid'] . ",
$usergroupid
)
[----------- source code snippet end -----------]

User-submitted array "iperm" is used in sql query without proper sanitization.
This results in sql injection. Testing ends with error message:

MySQL Error : Unknown column 'waraxe' in 'field list'


Contact:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

come2waraxe@yahoo.com
Janek Vind "waraxe"

Waraxe forum: http://www.waraxe.us/forums.html
Personal homepage: http://www.janekvind.com/
Php shell (work in progress): http://phpaxe.com/
---------------------------------- [ EOF ] ---------------------------------









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2008-11-17 (11585 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2400
vince213333  vince213333 - 708
pexli  pexli - 663
Mullog  Mullog - 527
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 353
tsabitah  tsabitah - 328
y3dips  y3dips - 281
lenny  lenny - 275
SecurityFocus
·Vuln: Pligg CMS 'status' Parameter SQL Injection Vulnerability
·Vuln: eZ Publish 'ezjscore' Module Cross Site Scripting Vulnerability
·Vuln: Galette 'picture.php' SQL Injection Vulnerability
·Vuln: SPIP Multiple Unspecified Cross Site Scripting Vulnerabilities
·Bugtraq: t2'12: Call for Papers 2012 (Helsinki / Finland)
·Bugtraq: ESA-2012-019: EMC Documentum Information Rights Management Multiple Vulnerabilities
·Bugtraq: Adobe Photoshop CS5.1 U3D.8BI Library Collada Asset Elements Stack Based Buffer Overflow Vulnerability
·Bugtraq: [SECURITY] [DSA 2469-1] linux-2.6 security update
·More rss feeds from SecurityFocus

read more...
Security Basics
·Re: file auditing and reporting
·Re: file auditing and reporting
·A survey on web application attacks
·Tools for finding outbound and inbound connection patterns
·[Onapsis Research Labs] New SAP Security In-Depth issue: "Our Crown Jewels Online: Attacks on SAP Web Applications"
·RE: file auditing and reporting
·Re: Web site defacement technics
·Re: Centralized firewall management and log analysis tools
·Re: Web site defacement technics
·RE: Botnet Servers

read more...
alexa



ATI Radeon reviews
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2010 Janek Vind "waraxe"

Page Generation: 0.519 Seconds