Forum Discussion
Dave_Burnett_20
Nov 10, 2008Nimbostratus
Modified Domain Cookie blocking
We have recently installed a pair of F56400s (v9.4.3) in front of our website with ASM in blocking mode.
Despite the fact that our Website only utilises a handful of cookies (all configured within the ASM) we are seeing and blocking loads of Modified Domain Cookie violations.
It would appear that when users are visitng our website their browsers are trying to present cookies that are nothing to do with our domain whatsoever which the F5 is blocking because it, quite rightly, does not recognise the cookie as being from the application. This action, however, is blocking the users from our site
Modified Cookie Violation is another standard ASM policy feature which we have not altered so, to my way of thinking, anyone with an F5 will be experiencing the same kind of problem.
Does anyone have the same issue? Does anyone know why we are seeing this behaviour i.e. browsers trying to give us cookies we don't want.
Any feedback/advice would be gratefully received
- hooleylistCirrostratusHi David,
- Dave_Burnett_20NimbostratusHeres a couple of examples.
- hooleylistCirrostratusIt would be most helpful to see the response(s) where these cookies are being set. They may not be from your application, but could be from other applications on the britannia.co.uk domain. The __utma cookie is a Google Analytics cookie. The _mkto_trk cookie looks to be from a marketing company, Marketo. I couldn't find any info on the L6289 cookie. I'd guess it's something custom.
- Dave_Burnett_20NimbostratusThanks for the response Aaron
- Ido_Breger_3805Historic F5 AccountWhat can be a workaround is an iRule that cleans all non-application/BIG-IP cookies from an HTTP request to this VS
- hooleylistCirrostratusThe cookies could be set by any web application that is on the britannia.co.uk domain or the www.britannia.co.uk subdomain. I don't think you can tell where they're being set just by looking at the requests being made to the VIP.
- hooleylistCirrostratusNevermind that suggestion... it shouldn't break your app if you removed the other application's cookies. The client would continue to submit the cookies to other applications on the same domain if they were set with a valid domain value by the other application.
- AllynCarter_377NimbostratusI am seeing similar problems to those being described here. We receive numerous cookies, which I believe get added by the client's web proxy. One example of this is "BCSI-CS0A84E644", which I believe originates from a BlueCoat proxy. I think it's poor form of these proxies to add a cookie, but I have to work around it. Ideally, I would like to allow all cookies that start with BCSI, but I can't find a way to do that.
- hooleylistCirrostratusA good proxy wouldn't leave its cookies in requests it sends out as it opens itself up to session hijacking. In 9.4.2+, you can ignore the cookies which start with BCSI using the modified domain cookies setting. The field accepts wildcards, so you can configure BCSI-*. Also, you could use an iRule to remove these cookies from requests. This would not affect the proxy functionality and it would be a secure option. Your web app should ignore these cookies. And it definitely should not set any BCSI- cookies in its response.
- AllynCarter_377NimbostratusThanks for the prompt response.
Recent Discussions
Related Content
Â
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects