Open Bug 1228186 Opened 10 years ago Updated 4 years ago

fatal TLS handshake errors sent by servers should result in more clear messaging from Firefox

Categories

(Firefox :: Security, defect)

42 Branch
x86_64
All
defect

Tracking

()

People

(Reporter: gordon.lack, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Build ID: 20151105173914 Steps to reproduce: Followed a link on the BBC web site to: https://preview.api.bbc.co.uk/news/business-34924803 Actual results: After a short while a message appeared: ============= An error occurred during a connection to preview.api.bbc.co.uk. SSL peer was unable to negotiate an acceptable set of security parameters. (Error code: ssl_error_handshake_failure_alert). ---------- o The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. o Please contact the web site owners to inform them of this problem. Expected results: Well - in actual fact the site isn't returning any data at all, so I'd expect a message to the effect that there is nothing there, rather than a message implying that some security problem prevents displaying what is there. FWIW, Microsoft Edge very quickly tells you that it can't reach the site. This is a wget session of what is going on: [parent]: wget https://preview.api.bbc.co.uk/news/business-34924803 --2015-11-25 22:42:11-- https://preview.api.bbc.co.uk/news/business-34924803 Resolving preview.api.bbc.co.uk (preview.api.bbc.co.uk)... 54.171.228.2, 54.76.13.246, 52.17.232.111 Connecting to preview.api.bbc.co.uk (preview.api.bbc.co.uk)|54.171.228.2|:443... connected. HTTP request sent, awaiting response... No data received. Retrying. --2015-11-25 22:42:13-- (try: 2) https://preview.api.bbc.co.uk/news/business-34924803 Connecting to preview.api.bbc.co.uk (preview.api.bbc.co.uk)|54.171.228.2|:443... connected. HTTP request sent, awaiting response... No data received. Retrying. ....repeating....
OS: Unspecified → All
Hardware: Unspecified → x86_64
Component: Untriaged → Security: PSM
Product: Firefox → Core
(In reply to Gordon Lack from comment #0) > Well - in actual fact the site isn't returning any data at all, so I'd > expect a message to the effect that there is nothing there, rather than a > message implying that some security problem prevents displaying what is > there. The site isn't returning any data because the server is sending a fatal TLS alert indicating that the handshake has failed. I agree that the UX isn't particularly elucidating, but at least it is accurate in this case.
Confirmed: Build ID 20151029151421 Mozilla/5.0 (X11; Linuz; x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is another bug where it would be best addressed from the front-end. For any server-generated fatal TLS alerts, Firefox should show some explanatory text like "Firefox attempted to connect to <domain>, but the site closed the connection".
Component: Security: PSM → Security
Product: Core → Firefox
Summary: ssl_error_handshake_failure_alert generated for web-site that has no data. Misleading error. → fatal TLS handshake errors sent by servers should result in more clear messaging from Firefox
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.