A Samsung RKP Compendium
A now-fixed vulnerability in Samsung RKP allowed kernel code to make hypervisor memory writable with a single call, enabling code execution at a higher privilege level. The blog post also provides a comprehensive reference of RKP internals.
blog.impalabs.com
Published on blog.impalabs.com
The original lives on blog.impalabs.com
We do not hold its text, 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
Root cause
Likely a missing or incorrect access-control check in an RKP interface allowed the kernel to mark hypervisor memory as writable.
Impact
An attacker with kernel-level access could make hypervisor memory writable and achieve code execution in Samsung RKP, compromising platform security.
What the attacker needed
Kernel-level access
The fix
The vulnerability was fixed, though the text does not describe the fix.
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.
Samsung RKP is a security component that runs at a higher privilege level than the normal operating system kernel. A mistake in its code let the kernel change memory that should have been protected, which could let an attacker take control of that higher level. The post explains how RKP works and shows that the fix was a simple correction.
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.