Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 260514
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert Buchholz <rbu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 260514 depends on: Show dependency tree
Bug 260514 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-02-27 13:56 0000
OpenSC Security Advisory [26-Feb-2009] CVE-2009-0368
----------------------------------------------------

OpenSC stores private data without proper access restrictions.

User "b.badrignans" reported this security problem on December 4th, 2008.
In June 2007 support form private data objects was added to OpenSC. Only later
a severe security bug was found out: while the OpenSC PKCS#11 implementation
requires PIN verification to access the data, low level APDU commands or 
debugging tools like opensc-explorer or opensc-tool can access the private 
data without any authentication. This was fixed in OpenSC 0.11.7.

RSA keys are not affected by this security problem. National eID cards and 
other cards initialised by other software are not affected by this problem. 
Only blank cards initialised with OpenSC are affected by this problem. It is 
not known if the problem is limited to some drivers, but we believe all 
drivers are affected. We could only test very few cards, but all of them had 
the problem, and the fix worked on all of them. All other cards are completely 
untested for either.

This fix only improves creating new private data objects. Cards already 
initialised with such private data objects need to be modified to repair the 
access control conditions on such cards. One way to do that is to erase the 
card and re-initialise it, but doing this you would loose all content on the 
card, including RSA private keys. An alternative is to download the private 
data object(s) to your PC, delete them on the card, and store them once more 
on the card with the new, fixed version of OpenSC. This procedure has been
tested with success on some cards, but no guaranty of any kind can be given.

[...]

------- Comment #1 From Daniel Black 2009-02-27 22:02:12 0000 -------
opensc-0.11.7.ebuild target "alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh
sparc x86"
if you don't have smartcards I don't either. there have been numerous reports
of this package working and I reasonably trust the upstream devs.

------- Comment #2 From Ferris McCormick 2009-03-01 03:03:03 0000 -------
Sparc stable.

------- Comment #3 From Brent Baude 2009-03-02 16:02:43 0000 -------
ppc64 done

------- Comment #4 From Robert Buchholz 2009-03-03 13:07:38 0000 -------
CVE-2009-0368 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0368):
  OpenSC before 0.11.7 allows physically proximate attackers to bypass
  intended PIN requirements and read private data objects via a (1) low
  level APDU command or (2) debugging tool, as demonstrated by reading
  the 4601 or 4701 file with the opensc-explorer or opensc-tool program.

------- Comment #5 From Tobias Scherbaum 2009-03-04 19:58:29 0000 -------
ppc stable

------- Comment #6 From Raúl Porcel 2009-03-06 17:25:17 0000 -------
alpha/arm/ia64/s390/sh/x86 stable

------- Comment #7 From Markus Meier 2009-03-07 14:34:11 0000 -------
amd64 stable

------- Comment #8 From Guy Martin 2009-03-10 07:11:04 0000 -------
hppa stable

------- Comment #9 From Robert Buchholz 2009-03-17 00:42:20 0000 -------
glsa vote: YES

------- Comment #10 From Stefan Behte 2009-04-23 17:02:10 0000 -------
Yes, too. Request filed.

------- Comment #11 From Arfrever Frehtes Taifersar Arahesis 2009-07-29 13:53:43 0000 -------
dev-libs/opensc-0.11.8 has been stabilized on m68k due to bug #269920.

------- Comment #12 From Tobias Heinlein 2009-08-01 12:38:05 0000 -------
GLSA 200908-01, thanks everyone.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug