Fix HTTPS->HTTP downgrades when using proxies
Categories
(Core :: DOM: Security, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: simonf, Assigned: simonf)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-active])
Attachments
(1 file)
For HTTPS first we want to treat NS_ERROR_UNKNOWN_HOST as an HTTPS
related error because it might be a 404 returned by a proxy (see
HttpProxyResponseToErrorCode). For the HTTPS-only case we don't want
that because it almost always is an unrelated error and the users would
have to confirm the interstitial every time to find out.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
A first fix was attempted in https://bugzilla.mozilla.org/show_bug.cgi?id=1894662
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
The practical relevance of weird proxy setups is low. The error mode here is that we fail to downgrade to an insecure connection in which case a user can manually switch to an explicit http:// scheme. The actual security impact seems to be minimal since the CONNECT case is not affected and in other cases no secure connection to the destination is achieved anyway. Valentin, do you agree?
I suggest we WONTFIX.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Okay, this is not a security issue but it might be a usability issue. Skipping downgrades might lead to people seeing connection failures where an HTTP connection would have worked.
| Assignee | ||
Comment 4•1 year ago
|
||
For HTTPS first we want to treat NS_ERROR_UNKNOWN_HOST as an HTTPS
related error because it might be a 404 returned by a proxy (see
HttpProxyResponseToErrorCode). For the HTTPS-only case we don't want
that because it almost always is an unrelated error and the users would
have to confirm the interstitial every time to find out.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•