SynopsisThe remote Amazon Linux 2 host is missing a security update.
DescriptionIt 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 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.
SolutionRun 'yum update pki-core' to update your system.
File Name: al2_ALAS-2021-1630.nasl
Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
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 Ease: No known exploits are available
Patch Publication Date: 4/20/2021
Vulnerability Publication Date: 3/18/2020