RHEL 7 : pki-core (RHSA-2018:1979)

high Nessus Plugin ID 110710

Synopsis

The remote Red Hat host is missing a security update.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2018:1979 advisory.

The Public Key Infrastructure (PKI) Core contains fundamental packages required by Red Hat Certificate System.

Security Fix(es):

* pki-core: Mishandled ACL configuration in AAclAuthz.java reverses rules that allow and deny access (CVE-2018-1080)

For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.

This issue was discovered by Fraser Tweedale (Red Hat).

Bug Fix(es):

* Previously, when ECC keys were enrolled, Certificate Management over CMS (CMC) authentication failed with a TokenException: Unable to insert certificate into temporary database error. As a consequence, the enrollment failed. This update fixes the problem. As a result, the mentioned bug no longer occurs.
(BZ#1550581)

* Previously, Certificate System used the same enrollment profiles for issuing RSA and ECC certificates.
As a consequence, the key usage extension in issued certificates did not meet the Common Criteria standard. This update adds ECC-specific enrollment profiles where the key usage extension for TLS server and client certificates are different as described in RFC 6960. Additionally, the update changes existing profiles to issue only RSA certificates. As a result, the key usage extension in ECC certificates now meets the Common Criteria standard. (BZ#1554726)

* The Certificate System server rejects saving invalid access control lists (ACL). As a consequence, when saving an ACL with an empty expression, the server rejected the update and the pkiconsole utility displayed an StringIndexOutOfBoundsException error. With this update, the utility rejects empty ACL expressions. As a result, invalid ACLs cannot be saved and the error is no longer displayed. (BZ#1557883)

* Previously, due to a bug in the Certificate System installation procedure, installing a Key Recovery Authority (KRA) with ECC keys failed. To fix the problem, the installation process has been updated to handle both RSA and ECC subsystems automatically. As a result, installing subsystems with ECC keys no longer fail. (BZ#1581134)

* Previously, during verification, Certificate System encoded the ECC public key incorrectly in CMC Certificate Request Message Format (CRMF) requests. As a consequence, requesting an ECC certificate with Certificate Management over CMS (CMC) in CRMF failed. The problem has been fixed, and as a result, CMC CRMF requests using ECC keys work as expected. (BZ#1585945)

Enhancement(s):

* The pkispawn man page has been updated and now describes the --skip-configuration and --skip- installation parameters. (BZ#1551067)

* With this update, Certificate System adds the Subject Alternative Name (SAN) extension by default to server certificates and sets it to the Common Name (CN) of the certificate. (BZ#1581135)

* With this enhancement, users can create Certificate Request Message Format (CRMF) requests without the key archival option when using the CRMFPopClient utility. This feature increases flexibility because a Key Recovery Authority (KRA) certificate is no longer required. Previously, if the user did not pass the -b transport_certificate_file option to CRMFPopClient, the utility automatically used the KRA transport certificate stored in the transport.txt file. With this update, if -b transport_certificate_file is not specified, Certificate System creates a request without using key archival. (BZ#1588945)

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?19e279e7

https://access.redhat.com/errata/RHSA-2018:1979

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1550581

https://bugzilla.redhat.com/show_bug.cgi?id=1551067

https://bugzilla.redhat.com/show_bug.cgi?id=1552241

https://bugzilla.redhat.com/show_bug.cgi?id=1554726

https://bugzilla.redhat.com/show_bug.cgi?id=1554727

https://bugzilla.redhat.com/show_bug.cgi?id=1556657

https://bugzilla.redhat.com/show_bug.cgi?id=1557880

https://bugzilla.redhat.com/show_bug.cgi?id=1557883

https://bugzilla.redhat.com/show_bug.cgi?id=1558919

https://bugzilla.redhat.com/show_bug.cgi?id=1571582

https://bugzilla.redhat.com/show_bug.cgi?id=1572548

https://bugzilla.redhat.com/show_bug.cgi?id=1581134

https://bugzilla.redhat.com/show_bug.cgi?id=1581135

https://bugzilla.redhat.com/show_bug.cgi?id=1585945

https://bugzilla.redhat.com/show_bug.cgi?id=1587826

https://bugzilla.redhat.com/show_bug.cgi?id=1588944

https://bugzilla.redhat.com/show_bug.cgi?id=1588945

Plugin Details

Severity: High

ID: 110710

File Name: redhat-RHSA-2018-1979.nasl

Version: 1.13

Type: local

Agent: unix

Published: 6/27/2018

Updated: 4/15/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-1080

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:pki-server, p-cpe:/a:redhat:enterprise_linux:pki-tools, p-cpe:/a:redhat:enterprise_linux:pki-base, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:pki-javadoc, p-cpe:/a:redhat:enterprise_linux:pki-symkey, p-cpe:/a:redhat:enterprise_linux:pki-kra, p-cpe:/a:redhat:enterprise_linux:pki-core, p-cpe:/a:redhat:enterprise_linux:pki-ca, p-cpe:/a:redhat:enterprise_linux:pki-base-java

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 6/26/2018

Vulnerability Publication Date: 7/3/2018

Reference Information

CVE: CVE-2018-1080

CWE: 284

RHSA: 2018:1979