Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 05:00:10 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155544
Posts in
21714
Topics by
7736
Members
Latest Member:
chris85
WebsiteBaker Community Forum
English
WebsiteBaker 2.x discussion
(Moderator:
Argos
)
Security offense!! Access denied!
Pages: [
1
]
2
3
4
Go Down
Author
Topic: Security offense!! Access denied! (Read 7434 times)
Argos
Moderator
Offline
Posts: 2161
Security offense!! Access denied!
«
on:
January 26, 2011, 04:14:31 AM »
It seems no longer possible to open and edit multiple pages by using right mouse click and open each one of them them in a separate browser tab. When saving you get the error "Security offense!! Access denied!"
This is very annoying, as I often edit many pages at once especially in the creative stage. Now I have to do them one at a time, which is very time consuming.
Why is this safety measure added (I use RC5 in this case)? What is the purpose of it? And can it be disabled?
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
maverik
Offline
Posts: 1568
Re: Security offense!! Access denied!
«
Reply #1 on:
January 26, 2011, 05:01:53 AM »
Same Problem here.
I have already spoken to Dietmar and he is looking for a solution as he said.
Logged
Signatur wird geladen...
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: Security offense!! Access denied!
«
Reply #2 on:
January 26, 2011, 05:43:16 AM »
Quote from: Argos on January 26, 2011, 04:14:31 AM
And can it be disabled?
I hope it can, for I am using different windows at once as well.
Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
testör
Guest
Re: Security offense!! Access denied!
«
Reply #3 on:
January 26, 2011, 07:36:11 AM »
No, it can't be disabled in 2.8.2 and 2.9.dev. Just look at all the revisions the last weeks and you'll see, that the SecureForm / FTAN is new security measure in 2.8.2 and 2.9 linked very deep in the core classes.
Btw: Most software has this CSRF-avoiding Tans.
If this would be disabled, it would be complete nonsense to include this security measurements. Disabling saftey would be none safety at all. You'll learn to handle this (I have to accept this, too and it's first a bit uncomfortable), I am sure.
Logged
Luisehahne
Board Member
Development Team
Offline
Posts: 3147
Re: Security offense!! Access denied!
«
Reply #4 on:
January 26, 2011, 07:37:59 AM »
I talk with DarkViper. The only chance is, to work with different browser. The secure token is set only once. If you open a second tab with same window, token will be created as new one, and save in the first window failed.
So the secure fix works correctly and fine.
Safety first!
Dietmar
P.S. I hope i could it explain for understanding.
Logged
We are human beings - and nobody is perfect at all.
testör
Guest
Re: Security offense!! Access denied!
«
Reply #5 on:
January 26, 2011, 07:41:33 AM »
Quote from: Luisehahne on January 26, 2011, 07:37:59 AM
I talk with DarkViper. The only chance is, to work with different browser.
Well, but who is working with different browser? Nearly nobody, most people won't (and shouldn't by the way). You can edit only one window in WB backend, that's a security feature and shouldn't be removed. Please don't make a good - and of course "hard" security - very weak because it first seems different to before.
Logged
BlackBird
AddOn Development
Offline
Posts: 2069
Re: Security offense!! Access denied!
«
Reply #6 on:
January 26, 2011, 11:14:33 AM »
Tried this with sseq-lib (with a module of mine that uses the SEQ_FTOKEN() method provided there). Seems to work. As far as I know, sseq-lib checks the browser signature only (can be disabled also) along with other data, so you can work with Tabs without any problems. Maybe the Lib you're using can be configured to be a bit less strict.
"Nach fest kommt ab!"
Logged
Alle großen Veränderungen beginnen im Kleinen
Argos
Moderator
Offline
Posts: 2161
Re: Security offense!! Access denied!
«
Reply #7 on:
January 26, 2011, 12:18:37 PM »
It's not clear to me why this measure improves "security" and "safety". Can anyone explain what is not safe about working in multiple tabs?
And I also would like to know how I "will learn to handle this"?
This "improvement" alone would be reason for me to not upgrade and use WB 2.8.2 and 2.9
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
BlackBird
AddOn Development
Offline
Posts: 2069
Re: Security offense!! Access denied!
«
Reply #8 on:
January 26, 2011, 12:31:50 PM »
I think it is part of the CSRF protection, but, as I said above: "Nach fest kommt ab". (analogous: "after firm comes off") This means in this case: There can be too much protection. It simply makes WB more complicated to use, maybe even unusable. (There are some other threads that go into the same direction, concerning other inventions.)
Logged
Alle großen Veränderungen beginnen im Kleinen
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2297
Re: Security offense!! Access denied!
«
Reply #9 on:
January 26, 2011, 01:13:13 PM »
Ok let me try to explain a bit.
With the right techniques, if you would be logged in (or have been logged in before in the same browser session) as admin of your website, and you visit another website (or open an email message) with a specially crafted image/script, they could create a new admin user on the fly. Just by visiting a website or reading a mail.
To prevent this, any form (ie user creation/modification, or just page editing) should test if the request to modify the page/user was coming from the authenticated user.
So, now any request to open a form will add a random code (token) that is only valid until the form is saved or the next code is generated.
So by opening a second form in a new tab, the first token is not valid anymore.
More importantly, if a third party creates the form-data to post, there will be no valid token in the data, and the data is rejected.
this site
has a good explanation.
Logged
Professional WebsiteBaker Solutions
maverik
Offline
Posts: 1568
Re: Security offense!! Access denied!
«
Reply #10 on:
January 26, 2011, 02:10:22 PM »
Please give a german explanation why it is necessary in backend and what can happend to my site without this protection. My english is not got enough to understand the english explanation.
The only thing i know is that is very irritating and uncomfortable to work with wb at the moment.
Logged
Signatur wird geladen...
Argos
Moderator
Offline
Posts: 2161
Re: Security offense!! Access denied!
«
Reply #11 on:
January 26, 2011, 02:30:06 PM »
Thanks for the explanation Ruud, I understand the need for such a protection now. However, I cannot believe that protection needs such a rude method. Isn't there a more elegant solution to prevent such attacks, and still be able to open and use multiple instances of the admin to work in. Is it for example not possible to create multiple tokens that all refer to the rightfull admin? Or use the same token for multiple browser windows?
I admit that I would prefer a slicker method to edit multiple pages at once, but for the moment opening multiple browser tabs/windows is the only way to do so. It is already a workaround for a shortcoming of WB, but now the workaround is gone. That's too sad.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2297
Re: Security offense!! Access denied!
«
Reply #12 on:
January 26, 2011, 03:26:39 PM »
This was mainly about explaining the problem. Not discussing the solution.
The immediate solution for "old" websites (not just WB, but any site you can login) is to logout before doing other stuff. If there is no "trusted" connection with your website, there is no problem.
I have even seen recommendations in other CMS forums to use a separate browser for web-development.
i.e. use IE to browse the web and FF for development and management.
I cannot promise any changes in how it is handled at this time, however I can imagine this feature will evolve and become more transparent in the future.
Logged
Professional WebsiteBaker Solutions
NorHei
Forum administrator
Offline
Posts: 485
Re: Security offense!! Access denied!
«
Reply #13 on:
January 26, 2011, 03:46:05 PM »
@maverik
Um es kurz zu machen wenn du bei WB eingelogt bist , bzw. warst, Und du dann auf eine andere Seite gehst die einen bestimmten Schadcode enthält (einfach nur draufgehen, nichts machen) kann der Schadcode dieser Seite deinen Admin Account übernehmen(neues Passwort), bzw. einfach einen neuen Anlegen. danach kann der eventuelle Angreifer dein komplettes WB zu seinen Zwecken nutzen oder sogar über die Dateiverwaltung eigene Scripte installieren.
Das ganze funktioniert auch mit entsprechend mit Schadcode versehenen Mails.
Gegenmaßnamen: IMMER ausloggen bevor eine Mail geöffnet wird oder du ein anderes Tab mit einer anderen Seite öffnest oder FTAN
Ein möglicher Workaround währe mehrere Browser.
«
Last Edit: January 26, 2011, 03:56:23 PM by NorHei
»
Logged
It is easier to change the specification to fit the program than vice versa.
Argos
Moderator
Offline
Posts: 2161
Re: Security offense!! Access denied!
«
Reply #14 on:
January 26, 2011, 03:53:19 PM »
Logging out before visting another site is an attack prevention for OLD versions, not for NEW versions. It does ofcourse not allow you to edit multiple pages. There is nothing to edit anymore if you're logged out...
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
NorHei
Forum administrator
Offline
Posts: 485
Re: Security offense!! Access denied!
«
Reply #15 on:
January 26, 2011, 04:10:35 PM »
Someone tested if its possible to use Firefox and Firefox portable at the same time ?
Logged
It is easier to change the specification to fit the program than vice versa.
Argos
Moderator
Offline
Posts: 2161
Re: Security offense!! Access denied!
«
Reply #16 on:
January 26, 2011, 04:13:33 PM »
Quote from: NorHei on January 26, 2011, 04:10:35 PM
Someone tested if its possible to use Firefox and Firefox portable at the same time ?
That's irrelevant. You still can only edit 1 page per browser...
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Luisehahne
Board Member
Development Team
Offline
Posts: 3147
Re: Security offense!! Access denied!
«
Reply #17 on:
January 26, 2011, 04:28:04 PM »
If i wants to copy/paste from one page sections in another, first I open the sections where I want to copy from, because I don't need to save anything there. Then I open the sections I want to paste and modify. This page get an actuell Token and I can save.
If I want to save something from the copy sections, I first refresh the site, do my changes and save.
May be the solution we are searching for.
First refresh the site you want to save, then modify and save. It's a click more, but for secure I can accept it
Dietmar
«
Last Edit: January 26, 2011, 05:06:17 PM by Argos
»
Logged
We are human beings - and nobody is perfect at all.
Argos
Moderator
Offline
Posts: 2161
Re: Security offense!! Access denied!
«
Reply #18 on:
January 26, 2011, 05:10:24 PM »
Copy/paste doesn't seem to be a big problem to me. What is more problematic is doing bulk editing to a large number of pages, for example modifying settings or user rights.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
BlackBird
AddOn Development
Offline
Posts: 2069
Re: Security offense!! Access denied!
«
Reply #19 on:
January 26, 2011, 05:52:36 PM »
Seems that the Lib you are using can't handle more than one valid session. (Where session means open tab in this case.)
Logged
Alle großen Veränderungen beginnen im Kleinen
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: Security offense!! Access denied!
«
Reply #20 on:
January 26, 2011, 06:05:32 PM »
I must say, that I don't like the new "feature" if it changes the way on how to work with the CMS.
They are long term habbits.
Quote from: Argos on January 26, 2011, 05:10:24 PM
Copy/paste doesn't seem to be a big problem to me. What is more problematic is doing bulk editing to a large number of pages, for example modifying settings or user rights.
Exactly.
Another situaton is, for example:
You are working on a page but you want to quickly change something in settings/user access or at a different place.
You open a new window with the "open link in new window" command (mouse, context menu etc.)
But you cant change anything... you have no access
I hope there is another way to grant security.
Even though security is first, don't forget about the usability thingy..
Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Argos
Moderator
Offline
Posts: 2161
Re: Security offense!! Access denied!
«
Reply #21 on:
January 26, 2011, 06:09:24 PM »
Indeed , stefek.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
maverik
Offline
Posts: 1568
Re: Security offense!! Access denied!
«
Reply #22 on:
January 26, 2011, 06:48:41 PM »
Ich bin Jäger und Sammler und so gibt es nicht viele CMS, Counter oder Groupware die ich noch nicht installiert und getestet habe.
So ein Verhalten wie WB jetzt an den Tag legt ist mir aber noch nicht untergekommen. Und mit anderen Systemen arbeite ich in gleicher Weise.
Sind diese Systeme alle unsicher?
In den letzten 5 Jahren hatte ich also mit WB "Tag der offenen Tür" und es ist nichts passiert. Jetzt habe ich so viele Türen und Schlösser dass ich selbst nicht mehr vom Ostflügel in den Weinkeller und danach ins Kaminzimmer komme.
##################### Google Translation ###################################
I'm the hunter-gatherers and so there are not many CMS, Counter, or groupware that I have not yet installed and tested.
Such a behavior such as WB now is the day I shall not yet seen. And I work with other systems in the same way.
All these systems are insecure?
In the last 5 years I had with WB so "open day" and nothing happened. Now I have so many doors and locks that I myself no longer in the east wing of the cellar and then into the fireplace come.
Logged
Signatur wird geladen...
BlackBird
AddOn Development
Offline
Posts: 2069
Re: Security offense!! Access denied!
«
Reply #23 on:
January 26, 2011, 07:00:08 PM »
The most secure Computer of the world is locked inside a safe, powered off. The only problem is that you can't use it for anything.
Logged
Alle großen Veränderungen beginnen im Kleinen
NorHei
Forum administrator
Offline
Posts: 485
Re: Security offense!! Access denied!
«
Reply #24 on:
January 26, 2011, 07:46:07 PM »
Many still are insecure..
And many have similar problem like WB.
How about some of us go and check how its done in other CMS , i am sure the devs would be happy to implement a better solution.
Logged
It is easier to change the specification to fit the program than vice versa.
Pages: [
1
]
2
3
4
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...