CrackArmor: Critical AppArmor Flaws Enable Local Privilege Escalation to Root
AppArmor contained confused-deputy flaws allowing an unprivileged local user to load, replace, or remove security profiles via pseudo-files, bypass user-namespace restrictions, and execute arbitrary code in the kernel. This enabled local privilege escalation to root, container isolation breakouts, denial of service, and kernel memory disclosure.
blog.qualys.com
Published on blog.qualys.com
The Qualys Threat Research Unit (TRU) has discovered nine vulnerabilities within AppArmor, a Linux Security Module (LSM) and the flaw has existed since 2017 (version v4.11). As the default mandatory access control mechanism for Ubuntu, Debian, SUSE, and numerous cloud platforms, its ubiquity across enterprise…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An unprivileged local user could escalate to root, break container isolation, cause a kernel panic and reboot, or leak kernel memory, though the text notes that interim mitigations do not offer the same assurance as patched kernels.
What the attacker needed
Local unprivileged account on affected Linux
The fix
The text recommends immediate kernel patching with vendor updates, and notes that patches were coordinated with distributions, but does not state that a specific fix has been released.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
AppArmor is a Linux security feature that restricts what programs can do, like a set of rules for each application. The bug let a normal user trick trusted programs into changing those rules, so they could remove protections, crash the system, or become the all-powerful root user. Anyone with a basic login account on an affected machine could exploit it.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.