PT-2022-13101 · Unknown · Go-Attestation
Nikki Vonhollen
+1
·
Published
2022-02-01
·
Updated
2022-07-15
·
CVE-2022-0317
CVSS v3.1
4.0
Medium
| Vector | AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
go-attestation versions prior to 0.4.0
Description
The issue is caused by improper input validation in
AKPublic.Verify, allowing local users to provide a maliciously-formed Quote over no/some PCRs, causing AKPublic.Verify to succeed despite the inconsistency. Subsequent use of the same set of PCR values in Eventlog.Verify lacks the authentication performed by quote verification, meaning a local attacker could couple this vulnerability with a maliciously-crafted TCG log in Eventlog.Verify to spoof events in the TCG log, hence defeating remotely-attested measured-boot.Recommendations
For go-attestation versions prior to 0.4.0, upgrade to version 0.4.0 or above to resolve the issue. If your usage of this library verifies PCRs using multiple quotes, make sure to use the new method
AKPublic.VerifyAll() instead of AKPublic.Verify.Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Go-Attestation