<div dir="ltr">From: <a href="https://groups.google.com/a/chromium.org/d/msg/blink-dev/0sJ8GUJO0Dw/lZaJf43tBAAJ">https://groups.google.com/a/chromium.org/d/msg/blink-dev/0sJ8GUJO0Dw/lZaJf43tBAAJ</a><div><br></div><div>"It's bad for attackers to be able to manipulate cookies on a site, as HTTP is otherwise ~stateless. Currently, attackers can write to (but not read) cookies by injecting a `<meta>` tag, which is a lower bar than actually executing script on the origin, or modifying headers in flight. I'd like to remove this as an injection vector, both because developers don't generally know that it's possible, and don't have any mechanism of preventing it today."</div><div><br></div><div>I imagine this makes it possible for a bad guy to post text on a forum, with embedded <meta> tags, and inject cookies into the browser of anyone who reads my message. In some contexts, browser protection ensures that any <script> code is not executed, but <meta> tags are not treated with such care. The suggested alternative is to replicate the meta tag using (JavaScript) scripting, which allows the same feature, but is constrained by context. This constraint includes things like allowing JavaScript to access (eg exfiltrate to) a different website from which the JavaScript came.</div><div><br></div><div>Xymon already uses JavaScript. I don't think it would be a big job to change the <meta> into the equivalent <script> tags.</div><div><br></div><div>J<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 March 2018 at 04:36, John Thurston <span dir="ltr"><<a href="mailto:john.thurston@alaska.gov" target="_blank">john.thurston@alaska.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It took me a bit to figure out where you were seeing this. It wasn't evident on my default page (non-green). A simple repro is to visit the 'Info' page for any host:<br>
<br>
<a href="https://foo.bar.com/xymon-cgi/svcstatus.sh?HOST=baz.bar.com&SERVICE=info" rel="noreferrer" target="_blank">https://foo.bar.com/xymon-cgi/<wbr>svcstatus.sh?HOST=baz.bar.com&<wbr>SERVICE=info</a><br>
<br>
In Chrome, look at the 'Console' and display messages of at least "Warnings" severity. As mentioned, the warning message references:<br>
  <a href="https://www.chromestatus.com/feature/6170540112871424" rel="noreferrer" target="_blank">https://www.chromestatus.com/f<wbr>eature/6170540112871424</a><br>
which further references:<br>
  <a href="https://github.com/whatwg/html/pull/3011#issuecomment-331187136" rel="noreferrer" target="_blank">https://github.com/whatwg/html<wbr>/pull/3011#issuecomment-331187<wbr>136</a><br>
<br>
So it looks to me like this change has only been in the works since late 2017. I know in the 'modern' world, this is an eternity, but to an old guy like me it seems rather abrupt. The hazard here is our users with Chrome are soon not going to cookies set. I suspect this is going to make it much more difficult to choose hosts to enable/disable/ack. What else is going to break when the cookies aren't set?<br>
<br>
I don't understand the issue, or what business-need is driving this change in cookie-setting methods. Regardless of how little I understand the problem, as soon as my users are faced with an un-filtered list of of hosts on which they can 'ack' an alarm, they're going to be even less likely to ack anything :(<br>
<br>
If history is any guide; as goes Chrome, so will go the rest of the world's browsers.<br>
<br>
Can anyone tell us more about why this cookie setting behavior is being changed, and what is required to alter?<br>
<br>
--<br>
   Do things because you should, not just because you can.<br>
<br>
John Thurston    907-465-8591<br>
<a href="mailto:John.Thurston@alaska.gov" target="_blank">John.Thurston@alaska.gov</a><br>
Department of Administration<br>
State of Alaska<div><div class="h5"><br>
<br>
On 3/7/2018 1:07 AM, Rich Jones wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi all, finally getting round to posting about this...<br>
<br>
Chrome is going to be deprecating the meta tag for setting cookies... is there a fix in the works for this? Error console throws the following:<br>
<br>
[Deprecation] Setting cookies via `<meta http-equiv='Set-Cookie' ...>` is deprecated, and will stop working in M65, around March 2018. Consider switching to `document.cookie = ...`, or to `Set-Cookie` HTTP headers instead. See <a href="https://www.chromestatus.com/feature/6170540112871424" rel="noreferrer" target="_blank">https://www.chromestatus.com/f<wbr>eature/6170540112871424</a> for more details.<br>
<br>
This is showing for all pages on Xymon 4.3.28 testing through Chrome 64.0.3282.186 which I presume is caused by the following in the head<br>
<br>
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/"><br>
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/"><br>
<br>
<br>
<br></div></div>
______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
<br>
</blockquote>
______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
</blockquote></div><br></div>