Closed Bug 1536352 Opened 7 years ago Closed 7 years ago

SSL: Secure Connection Failed occurs when I set specific cookie

Categories

(Core :: Security: PSM, defect)

65 Branch
All
Unspecified
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox66 --- affected
firefox67 --- affected
firefox68 --- affected

People

(Reporter: caiiiycuk, Unassigned)

Details

Attachments

(1 file)

Attached video ssl-video.webm —

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

Go to the site https://catsthegame.gamepix.com/. It should works fine.
Clear all cookies and set new one from json:

[
    {
       "name": "gpxid",
       "value": "763ae77c-ac40-11e8-b0b2-42010aa8000c",
       "domain": ".catsthegame.gamepix.com",
       "hostOnly": false,
       "path": "/",
       "secure": false,
       "httpOnly": false,
       "sameSite": "no_restriction",
       "session": true,
       "firstPartyDomain": "",
       "storeId": null
   },
   {
       "name": "gpxname",
       "value": "\u0010;5:A0=4@ \u0013C@LO=>2",
       "domain": ".catsthegame.gamepix.com",
       "hostOnly": false,
       "path": "/",
       "secure": false,
       "httpOnly": false,
       "sameSite": "no_restriction",
       "session": true,
       "firstPartyDomain": "",
       "storeId": null
   }
]

Reload page

Actual results:

After reload there is SSL certificate error, which is wrong.

Expected results:

Site should work normally.
Note: to set cookie I used Cookie-Editor by Moustachauve (https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/)

Same steps in Chrome does not result in SSL error

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 (20190325095153)

I've tested this report on Windows 10 using the latest Nightly and Fx release build. I was able to reproduce it following the provided steps. When editing the cookie and reload the page, an SSL: Secure Connection Failed occurs.

Status: UNCONFIRMED → NEW
Component: Untriaged → Networking: Cookies
Ever confirmed: true
Product: Firefox → Core
Hardware: Unspecified → All
Component: Networking: Cookies → Security: PSM

The server is resetting the connection - this isn't Firefox's fault.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: