[dokuwiki] Re: CookieMonster
- From: Andy Webber <dokuwiki@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 12 Sep 2008 09:43:18 +0100
Paul Oldham wrote:
This article in The Register[1] drew my attention to a possible security
flaw where secure web sites don't secure their cookies thus allowing
"sidejacking" attacks. I updated one of my other projects yesterday
which was affected by this.
Today I was logging into our Wiki, which is SSL encrypted, and I took a
look at the cookies and I see the cookies DokuWiki is setting are sent
over any connection not just encrypted ones. My understanding is that
this means that DokuWiki sites may be vulnerable to attacks using the
CookieMonster toolkit.
I'm using the 2008-05-05 - has this been fixed more recently or is this
something that needs to be addressed?
Your PHP config (php.ini) should probably have:
session.cookie_secure = 1
session.cookie_httponly = 1
http://php.net/manual/en/session.configuration.php#ini.session.cookie-secure
If you can't change the ini file, then DW should probably use
session_set_cookie_params() just before session_start().
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: CookieMonster
- From: Paul Oldham
- References:
- [dokuwiki] CookieMonster
- From: Paul Oldham
Other related posts:
- » [dokuwiki] CookieMonster
- » [dokuwiki] Re: CookieMonster
- » [dokuwiki] Re: CookieMonster
- » [dokuwiki] Re: CookieMonster
- » [dokuwiki] Re: CookieMonster
- » [dokuwiki] Re: CookieMonster
- » [dokuwiki] Re: CookieMonster
Today I was logging into our Wiki, which is SSL encrypted, and I took a look at the cookies and I see the cookies DokuWiki is setting are sent over any connection not just encrypted ones. My understanding is that this means that DokuWiki sites may be vulnerable to attacks using the CookieMonster toolkit.
I'm using the 2008-05-05 - has this been fixed more recently or is this something that needs to be addressed?
- [dokuwiki] Re: CookieMonster
- From: Paul Oldham
- [dokuwiki] CookieMonster
- From: Paul Oldham