SSH as Root Unlockable Without Triggering Measured Boot
Published Sep 21, 2023
8.8
HIGHCVSS 3.1
EPSS 0.17%
Description
On boot, the Pillar eve container checks for the existence and content of “/config/authorized_keys”.
If the file is present, and contains a supported public key, the container will go on to open port 22 and enable sshd with the given keys as the authorized keys for root login.
An attacker could easily add their own keys and gain full control over the system without triggering the “measured boot” mechanism implemented by EVE OS, and without marking the device as “UUD” (“Unknown Update Detected”).
This is because the “/config” partition is not protected by “measured boot”, it is mutable, and it is not encrypted in any way.
An attacker can gain full control over the device without changing the PCR values, thus not triggering the “measured boot” mechanism, and having full access to the vault.
Note:
This issue was partially fixed in these commits (after disclosure to Zededa), where the config partition measurement was added to PCR13:
• aa3501d6c57206ced222c33aea15a9169d629141
• 5fef4d92e75838cc78010edaed5247dfbdae1889.
This issue was made viable in version 9.0.0 when the calculation was moved to PCR14 but it was not included in the measured boot.
Affected products
-
Affected
- ≥ 0, < 8.6.0
- ≥ 9.0.0, < 9.5.0
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| LF-Edge, Zededa | Eve OS | unaffected | Affected
|
- < 8.6.0
- ≥ 9.0.0 · < 9.5.0
-
Affected
- ≥ 0, < 8.6.0
- ≥ 9.0.0, < 9.5.0
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux Foundation | Edge Virtualization Engine | unknown | Affected
|
No Red Hat product state for this CVE.
github.com/lf-edge/eve
Go
Introduced 0 Fixed 0.0.0-20220708121648-5fef4d92e758
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/lf-edge/eve | 0 | 0.0.0-20220708121648-5fef4d92e758 |
Remediation
No remediation recorded yet.
References (8)
- https://asrg.io/security-advisories/cve-2023-43631
- https://asrg.io/security-advisories/ssh-as-root-unlockable-without-triggering-measured-boot
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-48031 Advisory
- https://github.com/advisories/GHSA-3mq9-xhgq-r7gj Advisory
- https://github.com/lf-edge/eve/commit/5fef4d92e75838cc78010edaed5247dfbdae1889
- https://github.com/lf-edge/eve/commit/aa3501d6c57206ced222c33aea15a9169d629141
- https://github.com/lf-edge/eve/security/advisories/GHSA-3mq9-xhgq-r7gj
- https://nvd.nist.gov/vuln/detail/CVE-2023-43631
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub