CVE-2023-43631: EVE: SSH as Root Unlockable Without Triggering Measured Boot
On boot, the Pillar container checks for /config/authorized_keys. If present with a valid public key, it enables SSH on port 22 with root login. The /config partition is not protected by measured boot, is mutable and unencrypted.
This enables an attacker with physical access to the device to take out the disk, modify the /config partition using a separate server, then insert it, without the inserted key being flagged as an integrity voilation my measured boot and remote attestation.
References
- asrg.io/security-advisories/cve-2023-43631
- asrg.io/security-advisories/ssh-as-root-unlockable-without-triggering-measured-boot
- github.com/advisories/GHSA-3mq9-xhgq-r7gj
- github.com/lf-edge/eve
- github.com/lf-edge/eve/commit/5fef4d92e75838cc78010edaed5247dfbdae1889
- github.com/lf-edge/eve/commit/aa3501d6c57206ced222c33aea15a9169d629141
- github.com/lf-edge/eve/security/advisories/GHSA-3mq9-xhgq-r7gj
- nvd.nist.gov/vuln/detail/CVE-2023-43631
Code Behaviors & Features
Detect and mitigate CVE-2023-43631 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →