Waraxe IT Security Portal
Login or Register
November 16, 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: 77
Members: 0
Total: 77
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
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
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Help with SQL Server 2005 injection
Post new topicReply to topic View previous topic :: View next topic
Help with SQL Server 2005 injection
PostPosted: Wed May 16, 2007 4:08 am Reply with quote
BlackXORed
Beginner
Beginner
Joined: May 16, 2007
Posts: 4




Hi, i'm new at the forum, so hello. My problem is i've identified (and when i said identified you'll deduce the application isn't mine) an sql-injection issue is some product. The backend is Sql Server, and although this is the most easy to exploit, i haven't figured out a way. I've discovered some relevant parts of the db struct, but i haven't made any progress. even i've found some automation tools like SQLPowerInjector and FGInjector without contundent resutls. I hope you help me and thx for your time.
View user's profile Send private message
PostPosted: Wed May 16, 2007 12:01 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




What do you want to do accomplish? If you want to get some data from database, then in case of MS SQL 2005 it can be easy. Or maybe you want to compromise underlying opsystem - this can be tricky, because MS SQL 2005 is much more secure than MS SQL 2000 and if you don't have db admin permissions, then there is not much to exploit.
So - please give out some more info and I will try to share some knowledge.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed May 16, 2007 3:55 pm Reply with quote
BlackXORed
Beginner
Beginner
Joined: May 16, 2007
Posts: 4




Well, lets say that i first whant to come out from some data from the database.
View user's profile Send private message
PostPosted: Wed May 16, 2007 9:59 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




BlackXORed wrote:
Well, lets say that i first whant to come out from some data from the database.


First you must use MSSQL 2005 system tables for searching interesting target tables and columns.

http://www.databasejournal.com/features/mssql/article.php/3508881
http://msdn2.microsoft.com/en-us/library/ms190324.aspx
http://msdn2.microsoft.com/en-us/library/ms178534.aspx
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu May 17, 2007 3:43 am Reply with quote
BlackXORed
Beginner
Beginner
Joined: May 16, 2007
Posts: 4




well, i actually said i have all the structure of the database, so what i'm trying to do is to get all data in an easy way. I've tried Priamos (but it locks down), i also downloaded BobCat (i couldn't set it up) as automated tools, to get the data by me. FGInjector only gets fields and not data. So tell me what to do?
View user's profile Send private message
PostPosted: Thu May 17, 2007 12:13 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Personally I prefer manual methods or handcrafted tools and scripts.
First of all - it depends on specific sql injection exploitability.
If it is with visual feedback and supports multiple rows, then you can get lots of data with one query. If it is retrieving only one row at time, then you need more queries. If it is halfblind sql injection, then you need some scripts or tools for process automation, but it can be fast and reliable. And last case is blind sql injection - in this case you need good scripts or tools, it will take lots of time to get out some data and overall reliability is low.
So - what type of sql injection you are trying to exploit? Can you use UNION? Subselects? Is it multirow?
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu May 17, 2007 1:38 pm Reply with quote
BlackXORed
Beginner
Beginner
Joined: May 16, 2007
Posts: 4




well, i said that the server was returning error messages. I can't use union, maybe because i get an error after union select name,1,1,1,1 saying that image is not compatible with in. I said database was working with ole objects. Its a normal sq-injection scenario.
View user's profile Send private message
PostPosted: Thu May 22, 2008 9:12 am Reply with quote
Tr4c3
Regular user
Regular user
Joined: Mar 29, 2008
Posts: 10




If can return error. It is easy for you to get data easy.
View user's profile Send private message
Help with SQL Server 2005 injection
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.050 Seconds