Critical Certificate Validation Flaw in LXD and Incus Could Give Hackers Control of Linux Hosts
A critical flaw in LXD and Incus lets remote attackers bypass login checks to control Linux hosts without a password or user interaction.
Overview
A critical security flaw in the LXD and Incus software allows remote attackersAn intruder who targets a computer over a network or the internet without touching the device physically to bypass login checks and take control of Linux hosts. This vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend affects the HTTPSThe secure version of the web protocol that wraps HTTP traffic inside TLS encryption management listener and does not require a password, stolen private keyThe key only its owner holds, or user interaction to exploit. The issue stems from how the service verifies certificatesA file that ties a public key to a name, signed by a certificate authority during a connection, where it fails to check the remaining certificates in a chain after proving ownership of the first one. Because public certificates are not secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys and can be obtained without an account, attackers can append a trusted certificate to their own chain to gain access. This weakness permits unauthorized access to databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software gateways, internal clusters, and virtual machinesA software-emulated computer that runs its own operating system inside a shared physical server, as well as the ability to modify trust store entries. The flaw has existed since the initial release of the project and is rated with a CVSS scoreThe standard rating scale used to score how severe a software security flaw is of 10.0 by Incus.
Terms in this story
- remote attackers
- An intruder who targets a computer over a network or the internet without touching the device physically. Vulnerability advisories warn when a bug can be triggered by a remote attacker, meaning anyone on the internet who can reach the server can attempt the exploit.
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- HTTPS
- The secure version of the web protocol that wraps HTTP traffic inside TLS encryption. When a web address starts with HTTPS, your browser verifies the site's certificate and encrypts every page request and form submission between your device and the server. Security+ objective 1.4 lists the term
- private key
- The key only its owner holds. When attackers steal a company's private key in a breach, they can sign malware so computers trust it or impersonate the company's website to intercept customer traffic. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- Certificate
- A file that ties a public key to a name, signed by a certificate authority. Web browsers check a site's certificate on every secure visit, and news stories report when an expired or stolen certificate causes outages or lets an attacker impersonate a domain. From the CYBR 101 room CYBR 101: What is a hash?; Security+ objective 1.4 lists the term
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- database
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- virtual machines
- A software-emulated computer that runs its own operating system inside a shared physical server. Cloud providers run dozens of customer virtual machines on one physical server, and security researchers run malware samples inside a disposable virtual machine that they can reset afterward. Security+ objective 3.1 lists the term
- CVSS score
- The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
- Validation
- Checking that data sent by a user matches the expected format and size before using it. Many injection and overflow vulnerabilities happen because a program skips input validation and trusts whatever string or file size an outside user sends. Security+ objective 4.1 lists the term
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"Critical Certificate Validation Flaw in LXD..." Found by reading the article; these exact words are in it - Who is affected: "...exposed Linux systems..."
Copied word for word from the article - Security+ 1.4 Explain the importance of using appropriate cryptographic solutions.
"......managed virtual machines. The weakness affects the HTTPS management listener, placing exposed Linux systems at..." Found in the opening sentences - Security+ 2.3 Explain various types of vulnerabilities.
"Critical Certificate Validation Flaw in LXD and Incus Could Give Hackers..." Found in the headline - Security+ 3.1 Compare and contrast security implications of different architecture models.
"......and take control of clusters and managed virtual machines. The weakness affects the HTTPS management..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......and Incus could let remote attackers bypass login checks and take control of clusters and..." Found in the opening sentences - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"......Linux systems at risk without requiring a password, stolen private key, or user interaction." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"......managed virtual machines. The weakness affects the HTTPS management listener, placing exposed Linux systems at..." Found in the opening sentences - CYBR 101 week 4: encoding, ciphers, symmetric and asymmetric encryption
"......at risk without requiring a password, stolen private key, or user interaction." Found in the opening sentences - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"Critical Certificate Validation Flaw in LXD and Incus Could..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"......and Incus Could Give Hackers Control of Linux Hosts..." Found in the headline
How a story is connected to the course, and every objective, week and job role