Amazon Linux 2 : pki-core (ALAS-2021-1630)

high Nessus Plugin ID 148922

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2021-1630 advisory.

- A Reflected Cross Site Scripting flaw was found in all pki-core 10.x.x versions module from the pki-core server due to the CA Agent Service not properly sanitizing the certificate request page. An attacker could inject a specially crafted value that will be executed on the victim's browser. (CVE-2019-10146)

- A vulnerability was found in all pki-core 10.x.x versions, where the Key Recovery Authority (KRA) Agent Service did not properly sanitize recovery request search page, enabling a Reflected Cross Site Scripting (XSS) vulnerability. An attacker could trick an authenticated victim into executing specially crafted Javascript code. (CVE-2019-10179)

- A Reflected Cross Site Scripting vulnerability was found in all pki-core 10.x.x versions, where the pki-ca module from the pki-core server. This flaw is caused by missing sanitization of the GET URL parameters. An attacker could abuse this flaw to trick an authenticated user into clicking a specially crafted link which can execute arbitrary code when viewed in a browser. (CVE-2019-10221)

- A flaw was found in pki-core. An attacker who has successfully compromised a key could use this flaw to renew the corresponding certificate over and over again, as long as it is not explicitly revoked. The highest threat from this vulnerability is to data confidentiality and integrity. (CVE-2021-20179)

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

Solution

Run 'yum update pki-core' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2021-1630.html

https://access.redhat.com/security/cve/CVE-2019-10146

https://access.redhat.com/security/cve/CVE-2019-10179

https://access.redhat.com/security/cve/CVE-2019-10221

https://access.redhat.com/security/cve/CVE-2020-1721

https://access.redhat.com/security/cve/CVE-2020-25715

https://access.redhat.com/security/cve/CVE-2021-20179

Plugin Details

Severity: High

ID: 148922

File Name: al2_ALAS-2021-1630.nasl

Version: 1.3

Type: local

Agent: unix

Published: 4/22/2021

Updated: 1/3/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

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

CVSS Score Source: CVE-2021-20179

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:pki-base, p-cpe:/a:amazon:linux:pki-base-java, p-cpe:/a:amazon:linux:pki-ca, p-cpe:/a:amazon:linux:pki-core-debuginfo, p-cpe:/a:amazon:linux:pki-javadoc, p-cpe:/a:amazon:linux:pki-kra, p-cpe:/a:amazon:linux:pki-server, p-cpe:/a:amazon:linux:pki-symkey, p-cpe:/a:amazon:linux:pki-tools, cpe:/o:amazon:linux:2

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/20/2021

Vulnerability Publication Date: 3/18/2020

Reference Information

CVE: CVE-2019-10146, CVE-2019-10179, CVE-2019-10221, CVE-2020-1721, CVE-2020-25715, CVE-2021-20179

ALAS: 2021-1630