Previous Thread
Next Thread
Print Thread
Rate Thread
#223441 08/31/2002 1:35 PM
Joined: Nov 1999
Posts: 132
Member
Member
Offline
Joined: Nov 1999
Posts: 132
I'm kind of shocked beyond belief that the program comes defaulted "out of the box" to allow users to enter javascript. The full range of potential mischief seems to be allowed if HTML's turned on.

It's unbelievable. There are other security issues with this program, and I hope Rick can spend time shoring stuff up. UBBT has lots and lots and lots of features already.


JIM

Sponsored Links
Joined: Aug 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Aug 2002
Posts: 15
The usual response is to turn off html and use markup, that's what it's there for. However it's so simple to write an allowable html filter you have to wonder why they don't.

I wrote mine the day someone started embedding their own background images in my forum

Joined: Nov 1999
Posts: 132
Member
Member
Offline
Joined: Nov 1999
Posts: 132
or, for goodness sake, at least ship the script with HTML defaulted to "off" if you're not going to write the allowable html filter.

Security issues re: this program frighten me. Not enough consideration has been paid. It already had the best features of any bbs program three years ago. It's time to attend to infrastructure, security, scalability.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
?

When you create your forums you set whether or not you want html or ubbcode on. It's possible in an read-only forum you might want full control of the html/javascript.

I do not follow you on the security issues thoughts. Believe me, we're the subject of "security testing" on a mostly daily basis


- Allen wavey
- What Drives You?
Joined: Nov 1999
Posts: 132
Member
Member
Offline
Joined: Nov 1999
Posts: 132
posted by AllenAyres:
?

When you create your forums you set whether or not you want html or ubbcode on. It's possible in an read-only forum you might want full control of the html/javascript.



So anticipating this extremely unlikely contingency, the product ships in "full-mayhem-activated" position? Without even the standard step of an allowable html filter which the, like, two people who'd want javascript allowed could easily override?



"I do not follow you on the security issues thoughts"

I'm not an expert, and am unable to provide examples (though I will as we find them). But the fellow implementing the software on my site's a major tech pooba (former NASDAQ company CTO, former project lead at Apple), and he was dumbfounded by the javascript issue and what he considered, generally, a slipshod approach to security.

I'll, of course, share what we learn as we learn it (and all tweaks as we tweak).

JIm

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Nothing is shipped "full-mayhem-activated" You have to choose that you want html on UBBCode too for that matter


- Allen wavey
- What Drives You?
Joined: Nov 1999
Posts: 132
Member
Member
Offline
Joined: Nov 1999
Posts: 132
Apologies if that's the case. I was told differently.

Nonetheless, the absence of an allowable html filter is a bad, bad idea. I'd never have imagined javascript to be invited in with HTML. The unlikely contingency you mentioned doesn't justify this gap.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I can't think of an occasion you'd ever want html on in a forum where more than admins make read-only announcements I've never turned html on in any forum I've adminned


- Allen wavey
- What Drives You?
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I just created a test forum with 6.1b1. I didn't make any selections for HTML or markup, and they both defaulted to "off".

The only problem is that neither of the radio buttons is "checked" when the create-forum form is displayed, which is not really the proper way to use radio buttons.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Yeah, it really should have 2 for on and off for each selection


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Apr 2001
Posts: 59
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 59
Guys, sometimes I stumble on something really simple that works for me...

I just used the "badwords" filter to specify that "script" and "iframe" are naughty words and I've never had a problem.

Of course, I don't have any boards where my members typically post any code, so the missing words have never posed a problem for my site. I suppose if my members started talking about a movie script they'd be surprised to see it as [censored] but that hasn't happened yet.

It would be kind of nice to just have scripting and iframes disabled though.


Joined: Apr 2002
Posts: 206
Member
Member
Offline
Joined: Apr 2002
Posts: 206
A better solution in a non-code-posting forum would be adding "<script" and "<iframe" to the badwords, since that doesn't block out any instances of normal English language, but does block the html code.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)