Security problem about the certificate

Hi,

I think there may be a problem with the smartcard . This is because when the smartcard is inserted, the X.509 certificate is extracted from the smartcard and installed into the local machine/personal store. By this way, the certificate can be used for sending to the STS.

However, the certificate is not removed even when the smart card is not present. Subsequently, when other users, who are trying to cheat the system, log in using the previous user's smartcard infocard, they are able to send the info card successfully. This occurs simply because the certificate is present after use.

I would recommend the next version CardSpace will perform deletion of the certificate after use. I believe this way would give the use more sense of security.

Apart from that, I find it very strange that the CardSpace Identity Selector does not prompt me for the password, in order to extract the private key. I am not sure is it because I amusing "AnonymousForCertificate" security binding. This makes me very confused, whether the user has signed the message to the STS.

<securityauthenticationMode="AnonymousForCertificate"/>

Please enlighten me.

Cheers!

Ronghwa.

[1702 byte] By [Ronghwa] at [2008-2-10]
# 1
As a temporary workaround you could protect your InfoCard with its own PIN code
srdjan.bozovic at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 2
Yes, I agree with you. However, I am very puzzled why CardSpace Does not prompt me to key in the smart card password?
Ronghwa at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 3
Probably because in case of "AnonymousForCertificate" authentication it doesn't perform any cryptographic operations with it, just verifying that you have required certificate with you based on certificate thumbrint.
srdjan.bozovic at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 4

What build of .NET 3.0 did you notice this on?

I suspect it's a problem that has been already addressed, as the x509/smartcard handling is changing for RTM, but I'll have to get back to you on that.

Thanks,

g


Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation
blog:http://blogs.msdn.com/garretts

GarrettSerack-MSFT at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...

Software Development for Windows Vista

Site Classified