Skip to navigation

Security Advisory Moderate: rhpki security and enhancement update

Advisory: RHSA-2010:0837-1
Type: Security Advisory
Severity: Moderate
Issued on: 2010-11-08
Last updated on: 2010-11-08
Affected Products: Red Hat Certificate System v7.3
CVEs (cve.mitre.org): CVE-2004-2761
CVE-2010-3868
CVE-2010-3869

Details

Updated rhpki-ca, rhpki-common, and rhpki-util packages that fix three
security issues and add several enhancements are now available for Red Hat
Certificate System 7.3.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

Red Hat Certificate System is an enterprise software system designed to
manage enterprise public key infrastructure (PKI) deployments. Simple
Certificate Enrollment Protocol (SCEP) is a PKI communication protocol
used to automatically enroll certificates for network devices.

The certificate authority allowed unauthenticated users to request the
one-time PIN in an SCEP request to be decrypted. An attacker able to sniff
an SCEP request from a network device could request the certificate
authority to decrypt the request, allowing them to obtain the one-time
PIN. With this update, the certificate authority only handles decryption
requests from authenticated registration authorities. (CVE-2010-3868)

The certificate authority allowed the one-time PIN used in SCEP requests
to be re-used. An attacker possessing a valid SCEP enrollment one-time PIN
could use it to generate an unlimited number of certificates.
(CVE-2010-3869)

The certificate authority used the MD5 hash algorithm to sign all SCEP
protocol responses. As MD5 is not collision resistant, an attacker could
use this flaw to perform an MD5 chosen-prefix collision attack to generate
attack-chosen output signed using the certificate authority's key.
(CVE-2004-2761)

This update also adds the following enhancements:

* Support for the stronger encryption algorithm Triple-DES (DES3), and
stronger hash algorithms SHA1, SHA256, and SHA512, for use in SCEP
communication. These algorithms are in addition to the previously supported
DES and MD5 algorithms.

* New configuration options for the SCEP server can define the default and
allowed encryption and hash algorithms. These options allow disabling uses
of the weaker algorithms not required by network devices and prevent
possible downgrade attacks. These can be configured by adding the following
options to the certificate authority's CS.cfg configuration file:

ca.scep.encryptionAlgorithm=DES3
ca.scep.allowedEncryptionAlgorithms=DES3
ca.scep.hashAlgorithm=SHA1
ca.scep.allowedHashAlgorithms=SHA1,SHA256,SHA512

* With this update, the certificate authority's SCEP server is disabled by
default. The SCEP server can be enabled by adding the 'ca.scep.enable=true'
option to the certificate authority's CS.cfg configuration file.

* A separate key pair can now be configured for use in SCEP communication.
Previously, the main certificate authority's key pair was used for SCEP
communication too. A designated SCEP key pair can be referenced by adding
a new option, ca.scep.nickname=[scep certificate nickname], to the
certificate authority's CS.cfg configuration file.

* The certificate authority now allows the size of nonces used in SCEP
requests to be restricted by adding a new option, ca.scep.nonceSizeLimit=
[number of bytes], to the certificate authority's CS.cfg configuration
file. The limit is set to 16 bytes in the default CS.cfg configuration
file.

All users of Red Hat Certificate System 7.3 should upgrade to these updated
packages, which resolve these issues and add these enhancements.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Updated packages

Red Hat Certificate System v7.3

IA-32:
rhpki-ca-7.3.0-21.el4.noarch.rpm     MD5: da5f0c567b548988283d0d54c219cdfc
SHA-256: 373078791209569c9102a10da3c99663aea072f8b1bff6b57386b2bc682744a0
rhpki-common-7.3.0-41.el4.noarch.rpm     MD5: 05930e18a8f136b8fdcc8002e9e8a0f1
SHA-256: 9809800c75c092ca7abcb18b66f021cb925e1f4113f55693d4f68e3ae800a9ca
rhpki-util-7.3.0-21.el4.noarch.rpm     MD5: a6509c7479aac7d9d4d76e1e94b47c4b
SHA-256: 8cdece4d6a01b4787628fceb576af71f30c24e768479adf6c6cd8fcd457905c8
 
x86_64:
rhpki-ca-7.3.0-21.el4.noarch.rpm     MD5: da5f0c567b548988283d0d54c219cdfc
SHA-256: 373078791209569c9102a10da3c99663aea072f8b1bff6b57386b2bc682744a0
rhpki-common-7.3.0-41.el4.noarch.rpm     MD5: 05930e18a8f136b8fdcc8002e9e8a0f1
SHA-256: 9809800c75c092ca7abcb18b66f021cb925e1f4113f55693d4f68e3ae800a9ca
rhpki-util-7.3.0-21.el4.noarch.rpm     MD5: a6509c7479aac7d9d4d76e1e94b47c4b
SHA-256: 8cdece4d6a01b4787628fceb576af71f30c24e768479adf6c6cd8fcd457905c8
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

648882 - CVE-2010-3868 Certificate System: unauthenticated user can request SCEP one-time PIN decryption
648883 - CVE-2010-3869 Certificate System: SCEP one-time PIN reuse
648886 - CVE-2004-2761 MD5: MD5 Message-Digest Algorithm is not collision resistant


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/