1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 23:18:26 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Gaming4JC 30797d4da8 backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
Potential attack: session supercookie.

[Moz Notes](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c5):
"The problem is that for unknown header names we store the first one we see and then later we case-insensitively match against that name *globally*. That means you can track if a user agent has already seen a certain header name used (by using a different casing and observing whether it gets normalized). This would allow you to see if a user has used a sensitive service that uses custom header names, or allows you to track a user across sites, by teaching the browser about a certain header case once and then observing if different casings get normalized to that.

What we should do instead is only store the casing for a header name for each header list and not globally. That way it only leaks where it's expected (and necessary) to leak."

[Moz fix note](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c8):
"nsHttpAtom now holds the old nsHttpAtom and a string that is case sensitive (only for not standard headers).
So nsHttpAtom holds a pointer to a header name. (header names are store on a static structure). This is how it used to be. I left that part the same but added a nsCString which holds a string that was used to resoled the header name. So when we parse headers we call ResolveHeader with a char*. If it is a new header name the char* will be stored in a HttpHeapAtom, nsHttpAtom::_val will point to HttpHeapAtom::value and the same strings will be stored in mLocalCaseSensitiveHeader. For the first resolve request they will be the same but for the following maybe not. At the end this nsHttpAtom will be stored in nsHttpHeaderArray. For all operation we will used the old char* except when we are returning it to a script using VisitHeaders."
2019-02-16 00:14:28 +08:00
janekptacijarabaci b1dccb759a [DevTools] Storage inspector throws an error when use arrow keys
Issue #102
2019-02-15 23:52:58 +08:00
janekptacijarabaci c166a0abd4 [PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
Issue #96
Issue #102
2019-02-15 23:41:46 +08:00
janekptacijarabaci d0c4a6bdf1 Copy as cURL (PATCH)
Issue #44
2019-02-15 23:35:35 +08:00
janekptacijarabaci 558c645ef6 moebius#350: Don't display storage-sidebar after deleting all cookies
Issue #31
https://github.com/MoonchildProductions/moebius/pull/350
2019-02-15 23:35:19 +08:00
janekptacijarabaci 8a1405d8b9 moebius#342: Columns are not sorted correctly (Natural Sort algorithm)
Issue #31
https://github.com/MoonchildProductions/moebius/pull/342
2019-02-15 23:35:17 +08:00
janekptacijarabaci 6d865bfda3 moebius#339: Make it possible to add cookies, local and session storage entries
Issue #31
https://github.com/MoonchildProductions/moebius/pull/339
2019-02-15 23:35:16 +08:00
janekptacijarabaci 1ea18fdaf7 Bug 1320362: Move indexedDb storage type in the storage inspector into a new column
Issue #31
2019-02-15 23:35:10 +08:00
janekptacijarabaci a5b4f6e003 Bug 1146194: Multiple cookies with the same name not shown
Issue #31
2019-02-15 23:35:07 +08:00
janekptacijarabaci 59559355e6 DevTools - network - Copy as cURL (POST)
https://github.com/MoonchildProductions/moebius/pull/167
2019-02-15 23:34:44 +08:00
janekptacijarabaci 173d356acd Bug 1168376: Show transferred size in request summary instead of decompressed size
https://github.com/MoonchildProductions/moebius/pull/93
- without: DOMContentLoaded and load
2019-02-15 23:34:34 +08:00
janekptacijarabaci 174dd27dd3 [regression] DevTools - network - Copy as cURL (http versions) 2019-02-15 23:31:51 +08:00
janekptacijarabaci a7474395ec Support for css-color-4 (finish)
Issue #4
2019-02-15 23:29:04 +08:00
janekptacijarabaci c3a7fd56e7 Add a "copy full CSS path" option to the inspector's menu
Issue #3
2019-02-15 23:29:02 +08:00
roytam1 dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00