Closed Bug 304336 Opened 19 years ago Closed 11 years ago

firefox doesn't properly handle certificate types in SSL/TLS client authentication

Categories

(Firefox :: Security, defect)

3.6 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: rmdugal, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050811 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050811 Firefox/1.0.6

When an SSL/TLS server request client authentication it sends a list of
certificate types which the client should use in selecting a client certificate.
Firefox allows the user to pick any available client certificate, regardless as
to whether the certificate is a valid choice based on the server's certificate
types.

For example, if the server sends a CertificateRequest message with only RSA_sign
as a valid certificate type, the client should only be able to pick client
certificates that contain RSA public keys signed with RSA signatures. However,
Firefox lets the user pick a certificate with a DSS key which may cause
authentication failures.

Reproducible: Always

Steps to Reproduce:
1. find a SSL/TLS server that supports client authentication using only RSA_sign
2. Connect to the server with https
3. When the client certificate selection dialog is shown, pick a non-RSA
certificate such as a DSS certificate

Actual Results:  
In tests with my server the SSL/TLS handshake fails

Expected Results:  
Limit the set of possible client certificates to those that match the server's
certificate types in the CertificateRequest message.
I forgot to mention that the CertificateRequest message also includes a list 
of certificate authorities. The client certificate returned by Firefox should 
be issued by one of the server's listed CAs and it should match the 
CertificateRequestType.
Am not totally technical but this seems to be a problem I have encountered with firefox 2.0.0.12

We live in france and access our individual accounts with french tax man

on latest version firefox fails to ask me to identify my certificate rather than my partners - (the normal process which permits access to unique space) but defaults to my partners cert 

this means that I cannot access my space  -- help!!!
Have checked - both certs are still there
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Version: unspecified → 1.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Still broken in 3.6.3!
Firefox will let me pick any certificate in my personal certificates store, even certificate types that are not listed in the server's certificate request message.
Resolution: INCOMPLETE → FIXED
If it's still broken, why did you marked FIXED?
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Version: 1.0 Branch → 3.6 Branch
I didn't know what correct status should be so I left it alone.
Is this issue still present on Latest Nightly 25?
Flags: needinfo?
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago11 years ago
Flags: needinfo?
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.