Waraxe IT Security Portal
Login or Register
September 22, 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: 228
Members: 0
Total: 228
Full disclosure
[0day-rubbish] Royal Server 5.04.50529.0 Local privilege escalation to LocalSystem on the execution path without credential override (7.2)
[0day-rubbish] core-admin 1.0.164 (build 16468) Systemic shell command injection via ineffective quote escaping (8.8)
[0day-rubbish] OP5 Monitor 9.20 Command injection surviving the CVE-2025-34115 patch (OPT-IN fix ineffective) (8.8)
[0day-rubbish] QuantaStor 6.8.3.018 Command injection in the alert-mail command via the smtpPassword field (8.8)
[0day-rubbish] SmarterMail 100.0.9693 (Build 9693) Antivirus command-line configuration executing as NT AUTHORITY\SYSTEM (7.2)
[0day-rubbish] Jitterbit Agent 12.8.1.6 (Docker jitterbit/agent:12.8.1.6) Unauthenticated SOAP with hard-coded credentials leading to OS command execution (9.8)
[0day-rubbish] Accurate Online Private Cloud on-prem (current) Unauthenticated Hessian deserialization leading to JNDI remote class loading (9.8)
[0day-rubbish] DBxtra .NET 13.1.1.0 Unauthenticated SOAP API to xp_cmdshell code execution (9.8)
**Subject:** CVE-2026-2035703: Tozed ZLT X300 5G CPE — Unauthenticated Remote Root Code Execution via TR-069 Command Injection (CVSS 9.8)
CVE-2026-52307: Stored XSS in 1CMS v5.6
HP Easy Start for macOS: CVE-2026-12554 / CVE-2026-12555 /CVE-2026-12556
Next.js 16.4.0-canary.13 Image Optimizer DNS Rebinding TOCTOU SSRF Still Exists
O-CMS 1.0.0 Authenticated OS Command Injection viaai_cli_script
Flextype v1.0.0-alpha.3 CMS registerShortcodes() Remote Code Execution via Attacker-Controlled File Inclusion
Flextype v1.0.0-alpha.3 Stored Fetch Shortcode Allows Server-Side Request Forgery
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> phpbb <= 2.0.14 bbcode.php vulnerable
Post new topicReply to topic View previous topic :: View next topic
phpbb <= 2.0.14 bbcode.php vulnerable
PostPosted: Sun May 08, 2005 11:01 am Reply with quote
subzero
Valuable expert
Valuable expert
Joined: Mar 16, 2005
Posts: 42




bbcode.php

phpbb.com have released a new version of phpbb.
As you can see bbcode.php (<=2.0.14) dont properly sanitize $text

vulnerable code was found by staff from castlecop. Exploit will be publish 5 days later. If you can wait for more, do it yourself

Code:
function bbencode_second_pass($text, $uid)
{
global $lang, $bbcode_tpl;
[b]$text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text); //fixed added for phpbb 2.0.15[/b]


From the patch provided from phpbb 2.0.15 , you can figure out how to manipute any phpbb forum. Wink


(edited version numbers as there were typos -shai-tan)
View user's profile Send private message Visit poster's website
PostPosted: Sun May 08, 2005 11:51 am Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




Im a little busy to work it out. The sploit will be long released before I would work it so Ill get it when its released.

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Sun May 08, 2005 9:43 pm Reply with quote
zer0-c00l
Advanced user
Advanced user
Joined: Jun 25, 2004
Posts: 72
Location: BRAZIL!




anyone got a exploit for it?
View user's profile Send private message
PostPosted: Mon May 09, 2005 9:18 am Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




Its only I four day wait.
Or work it out your self. There are enough hints on the net Ive seen.

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Mon May 09, 2005 1:10 pm Reply with quote
subzero
Valuable expert
Valuable expert
Joined: Mar 16, 2005
Posts: 42




Patch for code 2.0.15

bold - fixed for 2.0.15

----------------------------------
// [img]image_url_here[/img] code..
// This one gets first-passed..
$patterns[] = "#\[img:$uid\]([^?].*?)\[/img:$uid\]#i";

-----------------------------------

// phpBB code..
$patterns[] = "#\[url=([\w]+?://[^ \"\n\r\t<]*?)\]([^?].*?)\[/url\]#i";
$replacements[] = $bbcode_tpl['url3'];

// phpBB code.. (no xxxx:// prefix).
$patterns[] = "#\[url=((www|ftp)\.[^ \"\n\r\t<]*?)\]([^?].*?)\[/url\]#i";
------------------------------------------

and its has connection to function make_clickable($text)

version 2.0.5 have added code to sanitize those script|about|applet|activex|chrome.

its mean that we can embed those text into [img] [/img] code and fooling user to click them.
View user's profile Send private message Visit poster's website
PostPosted: Mon May 09, 2005 4:48 pm Reply with quote
y3dips
Valuable expert
Valuable expert
Joined: Feb 25, 2005
Posts: 281
Location: Indonesia




however , i think i agree with subzero Wink

how about disabling BBcode ?

_________________
IO::y3dips->new(http://clog.ammar.web.id);
View user's profile Send private message Visit poster's website Yahoo Messenger
PostPosted: Mon May 09, 2005 5:54 pm Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




You could but a lot of sites need bbcode like book fan sites. They sometimes only reckconise people from there bbcoded sigs. And a lot of sites use the [img] tags a lot. It wouldnt really be far on the users from a end user point of veiw. But a security point of veiw would be to just turn it of or update your forums.

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Mon May 16, 2005 12:06 pm Reply with quote
KingOfSka
Advanced user
Advanced user
Joined: Mar 13, 2005
Posts: 61




wait please Smile
as usual i didn't understood all...
this bug could lead to XSS if i'm right, and it's caused by the fact that the script doesn't check if in the url are present words like script,applet and so on..
View user's profile Send private message Visit poster's website
PostPosted: Mon May 16, 2005 12:06 pm Reply with quote
KingOfSka
Advanced user
Advanced user
Joined: Mar 13, 2005
Posts: 61




wait please Smile
as usual i didn't understood all...
this bug could lead to XSS if i'm right, and it's caused by the fact that the script doesn't check if in the url are present words like script,applet and so on..
the only thing i can't understand is where to insert that script code.. i'm trying to understand by learning php reg exp..
View user's profile Send private message Visit poster's website
Re
PostPosted: Mon Jun 20, 2005 10:26 am Reply with quote
mister
Beginner
Beginner
Joined: Jun 02, 2005
Posts: 4




Always None on That ? Laughing
View user's profile Send private message
phpbb <= 2.0.14 bbcode.php vulnerable
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.038 Seconds