Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/freax13/cve-2023-46813-poc
Privilege EscalationVulnerability AnalysisExploitationCloud SecurityHardware SecurityBinary Exploitation
GitHubfreax13/cve-2023-46813-poc

cve-2023-46813-poc

Proof-of-concept exploit for CVE-2023-46813 targeting AMD SEV-SNP. Escalates privileges by manipulating hypervisor memory type changes to swap task credentials.

View Repository
8162 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2023-46813 PoC

  1. Apply the patches in the host-patches folder to the Linux host and QEMU.
  2. Start an SEV-SNP VM.
  3. Run the code in this repo and wait for the message "waiting for the hypervisor to change memory to MMIO".
  4. Spam the attack command in QEMU several times.
  5. Once the exploit detects that the type of some of its memory has been changed to MMIO it will use the vulnerability to swap out its credentials with those of the init tasks.

Successful exploitation will look like this:

The exploit doesn't rely on any absolute kernel offsets but relies on the relative offsets of fields in the struct task_struct type. You might have to adjust those.

Download Tool