Waraxe IT Security Portal
Login or Register
October 20, 2026
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: 149
Members: 0
Total: 149
Full disclosure
VestaCP <= 0.9.8-26: authenticated config-parser eval sinks ->root RCE (VESTACP-2026-001)
[SYSS-2026-080]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-079]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-078]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-077]: dcm4che - Path Traversal (CWE-22)
[0day-rubbish] Synametrics Syncrify 6.2 build 1178 authenticated PublicLink chunk-upload path traversal to /etc/cron.d and root command execution (7.5)
[0day-rubbish] South River Technologies Titan MFT Server 26.0.0 first-run administrator setup chained to job post-command injection, NT AUTHORITY\SYSTEM (8.1)
[0day-rubbish] SmartBear Collaborator Server 15.1.15101 authenticated DOORS/Simulink review-file upload zip-slip to anonymous webroot Groovy Server Page execution as uid 1001 (7.5)
[0day-rubbish] PacsOne Server 7.3.9 authenticated DICOMweb STOW-RS SOP Instance UID path traversal to www-data code execution on a PACS host (7.2)
[0day-rubbish] Maian Pal 2.1 product image upload with no extension allow-list to PHP webshell and www-data uid 33 code execution (7.2, PR:H)
[0day-rubbish] Maian Guardian 2.1 license generator projid command injection to www-data uid 33 code execution (7.2, PR:H)
[0day-rubbish] Dataedo Portal 26.2.8 with Dataedo Agent 26.2.8 unrestricted scheduler job-type deserialization to Agent-host command execution (8.1)
[0day-rubbish] CloudPanel 2.5.4-3 site-settings rootDirectory nginx virtual-host injection to host root code execution (8.8)
[0day-rubbish] Auerswald COMmander 6000 / 6000R 8.6D unauthenticated provisioning import zip-slip to root binary hijack and root code execution (9.8)
[0day-rubbish] Abyss Web Server X1 2.16.22.0 first-run console credential takeover to configuration-write log-as-CGI command execution (7.5)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Help with a SQL INJECTION >> Probably BLIND ( HOW?)
Post new topicReply to topic View previous topic :: View next topic
Help with a SQL INJECTION >> Probably BLIND ( HOW?)
PostPosted: Sat Dec 27, 2008 5:45 pm Reply with quote
ingh1pped
Advanced user
Advanced user
Joined: Dec 13, 2008
Posts: 88




I have found a vulnerable site to SQL injection

http://www.+++++++/index.php?++++++++=17 union select 1,concat_ws(0x3a,username,password,id),3,4,5,6,7,8,9 from table_accounts--

I say it's ok beacuse if i change table_accounts with other name like fuck_accounts or table_users , it says
Table 'example' doesn't exist

and if i change te columns with other name like for example user or pwd it says.

Unknown column 'example' in 'field list'

WELL, it' ok just beacuse i try order by 9-- and it's ok , and order by 10-- NO!
Then i know that the exact query is

union select 1,concat_ws(0x3a,username,password,id),3,4,5,6,7,8,9 from table_accounts--


but when before i forced the query with -1 nothing is printed on screen

And nothing in printed on screen if i try obviously
-1 union select 1,2,3,4,5,6,7,8,9-- (no number on screen!)
nothing number , nothing of nothing but the page is correctly loaded.

Just i think then, it needs a BLIND SQL but how can i made a correct blind Query with arguments
table_accounts username password and id ?
I'm not very good boy with blind sql injection.
What i can try? What responde of the site?
THKS THKS THKS for your help!!!
View user's profile Send private message
Re: Help with a SQL INJECTION >> Probably BLIND ( HOW?
PostPosted: Sat Dec 27, 2008 11:02 pm Reply with quote
tehhunter
Valuable expert
Valuable expert
Joined: Nov 19, 2008
Posts: 261




ingh1pped wrote:
I have found a vulnerable site to SQL injection

http://www.+++++++/index.php?++++++++=17 union select 1,concat_ws(0x3a,username,password,id),3,4,5,6,7,8,9 from table_accounts--

I say it's ok beacuse if i change table_accounts with other name like fuck_accounts or table_users , it says
Table 'example' doesn't exist

and if i change te columns with other name like for example user or pwd it says.

Unknown column 'example' in 'field list'

WELL, it' ok just beacuse i try order by 9-- and it's ok , and order by 10-- NO!
Then i know that the exact query is

union select 1,concat_ws(0x3a,username,password,id),3,4,5,6,7,8,9 from table_accounts--


but when before i forced the query with -1 nothing is printed on screen

And nothing in printed on screen if i try obviously
-1 union select 1,2,3,4,5,6,7,8,9-- (no number on screen!)
nothing number , nothing of nothing but the page is correctly loaded.

Just i think then, it needs a BLIND SQL but how can i made a correct blind Query with arguments
table_accounts username password and id ?
I'm not very good boy with blind sql injection.
What i can try? What responde of the site?
THKS THKS THKS for your help!!!
If you have SQL injection and you can make different pages load when you change the parameter you're injecting, blind sql injection is possible.

First identify different parameters you can put in regularly (e.g. index.php?id=1 and also index.php?id=2). Good, now try something like the following:

index.php?id=-1 union select 0,0,0,0,0,0,0,0,IF(ASCII(SUBSTRING(password FROM 1 FOR 1))<97,1,2) FROM table_users WHERE userid=1--

which is asking is the first char of 'password' is of ascii value less than 97. Then just change around the condition and voila you can extract hashes. I have an exploit using this working for vBulletin and its awesome. Once you figure it out, I recommend you automate it by a program.
View user's profile Send private message
PostPosted: Sun Dec 28, 2008 8:32 pm Reply with quote
ingh1pped
Advanced user
Advanced user
Joined: Dec 13, 2008
Posts: 88




wery thanks tehunter.... i'm trying your example in more case...

i try
http://www.******/index.php?com=+++++++++++&user=126&date=-1%20union%20select%200,0,0,0,0,0,0,0,IF(ASCII(SUBSTRING(password%20FROM%201%20FOR%201))%3C97,1,2)%20FROM%20[tabella]%20WHERE%20id=1--

and the page is loaded , then if i try other name of table i get an errore table not found..
then i think the blind work but i'm not very expert o f blind ...
i just try to know how make the confront with the ascii value..

sorry but can i send you a PM with the original link??? Question Question
View user's profile Send private message
Help with a SQL INJECTION >> Probably BLIND ( HOW?)
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



PCWizardHub - Helping you fix, build, and optimize your PC life
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.028 Seconds