Closed Bug 442814 Opened 18 years ago Closed 4 years ago

Remove "peer" from revoked certificate error

Categories

(Core :: Security: PSM, enhancement, P5)

PowerPC
macOS
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Unassigned)

References

()

Details

(Whiteboard: [psm-backlog])

Attachments

(2 files)

my goal is to improve the error message it currently says "Peer's Certificate has been revoked" http://mxr.mozilla.org/mozilla-central/search?string=certNotVerified_CertRevoked&find=properties but that's meaningless to most people who don't know what a peer is Original thoughts: a proper error message could say WHO revoked it, WHEN it was revoked, perhaps the reason WHY it was revoked, and just how scary revocation is and why the user should stop and yell at someone. General theory... . Imagine Mike is a CA . Mike issues a Certificate to Lucy, it identifies Lucy . Lucy leaves her Certificate in a hotel room . jX finds it and takes it with him, intending to impersonate Lucy . Lucy reports to Mike that your Certificate was stolen. . Mike issues a Revocation notice for your Certificate . I visit a server which has Lucy's Certificate . my browser checks w/ Mike's CA and is told it's Revoked . I stop. because I'm probably not talking to Lucy, but instead perhaps someone evil (like jX) . I can't know who holds the Certificate, but the identification relationship that used to be established by the certificate was voided by the CA Or summarily: the cert is no longer valid Optional features: * the revocation notice CAN include a comment explaining "why" a certificate was revoked. - I think on average it doesn't Reasons for a certificate to be revoked: * Certificate compromise * Loss of private key for certificate (kinda silly case) * Contract between Identified party and Issuer was voided, violated * Identified party's payment to Issuer bounced * Issuer determines Identified party changed ownership * Issuer determined that the Identified party submitted false information Risks to user: * If the user has been to the site recently, it's possible that the site had been compromised before the certificate was revoked * It's quite likely information you've submitted to this site may be compromised or have simply been collected by a thief instead of the intended party Points to stress: * please contact the server out of band * Do NOT try to connect using another browser, this error message is real and it's very serious. If another browser does let you connect, it will be enabling you to give your information to someone whose only goal is to steal it. > "The certificate this site uses is no longer valid" The error is explaining why the site is no longer accessible ... essentially the site is no longer accessible because the site has been compromised technically "because security for this site has been compromised" shouldn't it be using one of the big red malware pages then? probably - but w/o a "let me in" feature ... this error message is permfail, you can't work around it. sadly it's currently less scary than most of the other errors "the identity of this site is no longer verified" "The certificate identifying this server has been canceled" Testing this via http server would require someone to donate a revoked certificate and some sort of oscp file that would indicate it's revoked. (as well as a working https server)
Attached image reference error (ff3) —
I share Timeless's concerns about this dialog. Revocation is perhaps the single most-serious cause of SSL failure there is. The page or dialog that reports it should not offer a button to "try again" (as it now does), nor a way to create a "security exception". This error means that the key HAS BEEN compromised, as a result of which the CA has actively disavowed the binding between it and the named subject party. It is unlike most (but not all) of the other cert errors, many of which mean only "we can't tell if a compromise has occurred or if this is just another server admin screw up." The subject of this bug involves the word "peer". The point of the word peer in this context is to say that it is the server's own cert that has been revoked, and not (say) one of the CA certs in that server cert's chain. Peer means "not issuer" in this context. PSM uses the word peer here because this same error can occur in other contexts that https server authentication. In other contexts, it could mean a remote client, a remote email correspondent, etc. So the word peer is used to generically describe the "subject party" whose cert you (the relying party) are attempting to validate. But if the error message is being displayed in a context that is certain to mean that the peer is a "remote" SSL server, then you could surely substitute "server" for peer. I agree with Timeless that, instead of the message "try again", which implies "go ahead and assume this is a browser screw up and do everything in your power to work around it, and whine at the Mozilla developers if you can't", the message should be "You should be seriously afraid of trying to continue. This error is the VERY REASON that your browser has SSL at all. It has detected a serious security problem, and if you override it, your WILL suffer personal consequences at the hands of the attacker. Quickly write a note of thanks to Mozilla for keeping you safe from this." :)
I really think that the error page should display a "Red Larry" and not a warning sign. Besides that I believe that too much information will be counter-productive. But the text in question should be improved with "This Certificate has been revoked".
Skull and crossbones? (like on poison labels) A tombstone? Larry laying there, bleeding out? Or, forget the warning/error text, and redirect the user to some random soft porno site (e.g. www.girlsgonewild.com), from which they'll quickly browse away in terror or anger, having concluded that that site they were trying to visit is now the spawn of the devil. :) Or maybe they'll stay at that alternate site, and thus be drawn away from the site with the revoked cert. But seriously, let's get creative, and have a contest for best page to show people to get them to STOP trying to pursue a site with a revoked cert.
Attached image Red Larry —
Red Larry should show up instead warning sign.
(In reply to comment #4) > Or, forget the warning/error text, and redirect the user to some random > soft porno site (e.g. www.girlsgonewild.com), from which they'll quickly > browse away in terror or anger, having concluded that that site they were > trying to visit is now the spawn of the devil. :) Or maybe they'll stay > at that alternate site, and thus be drawn away from the site with the > revoked cert. I think Johnathan should endorse your idea also for general SSL errors. Just imagine that self signed certificates will get you to some "interesting" site when clicking on "Get me out of here" instead of FF default page...I think Johnathan will make it up with all the geeks and rants out there. Expected behavior: Shall I really add an exception or better "Get me out of here" :-)
I think the "try again" button was an invention at the Firefox application level, the button is not in PSM code. On the other hand, the code is probably still somewhere else in core Mozilla code, so it seems reasonable to keep the module assignment. I guess the options are: - always hide the "retry" button on SSL error pages - invent some new logic that makes a decision when "try again" shall be shown
Component: Security: UI → Security: PSM
Priority: -- → P5
Whiteboard: [psm-backlog]
Assignee: bugzilla → nobody
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: