<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Illegal cookie name in Security</title>
    <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75016#M2500</link>
    <description>&lt;P&gt;Looking at it closer, it appears there are 2 issues:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;The first is that splunk fails with cookie names
with colons in them (like the
referenced issue)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The second is that
splunk is reporting the wrong cookie
name when complaining about a cookie&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Not sure what we are going to do, but it would be best if splunk could handle the illegal cookie names.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2010 21:11:26 GMT</pubDate>
    <dc:creator>kkalmbach</dc:creator>
    <dc:date>2010-10-21T21:11:26Z</dc:date>
    <item>
      <title>Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75015#M2499</link>
      <description>&lt;P&gt;I think this is similar to
&lt;A href="http://answers.splunk.com/questions/3602/can-splunk-accept-cookies-with-colon-embedded" rel="nofollow"&gt;http://answers.splunk.com/questions/3602/can-splunk-accept-cookies-with-colon-embedded&lt;/A&gt;
but not exactly.&lt;/P&gt;

&lt;P&gt;It seems that when I have a domain wide cookie set, I can never get to splunk (if I use a fully qualified domain name to access splunk).&lt;/P&gt;

&lt;P&gt;Even if the cookie names appear valid, I still get an error from splunk.
Here is one example.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;400 Bad Request&lt;/P&gt;

&lt;P&gt;Illegal cookie name AtworkEnv&lt;/P&gt;

&lt;P&gt;Traceback (most recent call last):
  File "/opt/splunk/splunk/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 581, in respond
    self.process_headers()
  File "/opt/splunk/splunk/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 653, in process_headers
    raise cherrypy.HTTPError(400, msg)
HTTPError: (400, 'Illegal cookie name AtworkEnv')&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;The domain wide cookies are set by an ap that we have no control over (and must goto daily).
Also, I must use a fully qualified domain name to access splunk (we have different domain at my work).&lt;/P&gt;

&lt;P&gt;Has anyone found a workaround for this?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 21:01:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75015#M2499</guid>
      <dc:creator>kkalmbach</dc:creator>
      <dc:date>2010-10-21T21:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75016#M2500</link>
      <description>&lt;P&gt;Looking at it closer, it appears there are 2 issues:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;The first is that splunk fails with cookie names
with colons in them (like the
referenced issue)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The second is that
splunk is reporting the wrong cookie
name when complaining about a cookie&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Not sure what we are going to do, but it would be best if splunk could handle the illegal cookie names.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 21:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75016#M2500</guid>
      <dc:creator>kkalmbach</dc:creator>
      <dc:date>2010-10-21T21:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75017#M2501</link>
      <description>&lt;P&gt;It looks like commenting out line 653 will stop the error from killing the request. I will make sure this is filed as a bug with CherryPy.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2011 22:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75017#M2501</guid>
      <dc:creator>vbumgarner</dc:creator>
      <dc:date>2011-03-28T22:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75018#M2502</link>
      <description>&lt;P&gt;This does not seem to work reliably.&lt;BR /&gt;
The Cookie.py stops processing (and raises the error) when it hits the first error.&lt;BR /&gt;
So if the "Cookie" header contains:&lt;BR /&gt;
good=value;  b:ad=value&lt;BR /&gt;
Things are fine with that line commented out.&lt;BR /&gt;
If the value of "Cookie" is:&lt;BR /&gt;
b:ad=value; good=value&lt;BR /&gt;
Then Cookie.py stops processing and the good=value is never read in.&lt;BR /&gt;
I think we need to comment out the raise in Cookie.py&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2011 02:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75018#M2502</guid>
      <dc:creator>kkalmbach</dc:creator>
      <dc:date>2011-04-05T02:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75019#M2503</link>
      <description>&lt;P&gt;Bump.  This just bit me again, this time with glassfish admin cookies.&lt;/P&gt;

&lt;P&gt;This is a problem somewhere in Cookie.py.  &lt;/P&gt;

&lt;P&gt;Anyone have a little fix?  Maybe something borrowed from a newer Python?  I see on the tubes that this is a problem for Google Analytics, as well, as they use cookies with colons in the name.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 16:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75019#M2503</guid>
      <dc:creator>vbumgarn</dc:creator>
      <dc:date>2011-12-01T16:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75020#M2504</link>
      <description>&lt;P&gt;Any progress on handling the illegal cookies?&lt;BR /&gt;
Cherrypy just forbid me from accessing Splunk frontend after accessing a Zabbix instance on the same server:&lt;/P&gt;

&lt;P&gt;'Illegal cookie name cb_/zabbix/items.php_parts'&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75020#M2504</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2020-09-28T11:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75021#M2505</link>
      <description>&lt;P&gt;So, I'm gathering that the workarounds to this issue are as follows:&lt;/P&gt;

&lt;P&gt;1) Clear cookies, and try again&lt;/P&gt;

&lt;P&gt;or...&lt;/P&gt;

&lt;P&gt;2) Use Firefox (which has worked for me).&lt;/P&gt;

&lt;P&gt;Am I correct?  Is there anything else I can tell my Splunk users?&lt;/P&gt;

&lt;P&gt;thx,&lt;BR /&gt;
mfeeny1&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2012 20:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75021#M2505</guid>
      <dc:creator>mfeeny1</dc:creator>
      <dc:date>2012-07-09T20:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal cookie name</title>
      <link>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75022#M2506</link>
      <description>&lt;P&gt;Just wanted to say THANK YOU for this!!  I've had this illegal cookie issue for MONTHS, and so far everyone I've bothered to help me looked at me like I have two heads...  Firefox WORKS!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Illegal-cookie-name/m-p/75022#M2506</guid>
      <dc:creator>nicci</dc:creator>
      <dc:date>2014-06-19T14:31:26Z</dc:date>
    </item>
  </channel>
</rss>

