.. / CVE-2023-32784

Exploit for KeePass 2.X Master Password Dumper (CVE-2023-32784)

Description:

In KeePass 2.x before 2.54, it is possible to recover the cleartext master password from a memory dump, even when a workspace is locked or no longer running. The memory dump can be a KeePass process dump, swap file (pagefile.sys), hibernation file (hiberfil.sys), or RAM dump of the entire system. The first character cannot be recovered. In 2.54, there is different API usage and/or random string insertion for mitigation.

Proof of Concept

PoC exploit

Try the exploit in a lab environment:

Lab Machine Link
Hack The Box Keeper Go to Practice

References:

https://nvd.nist.gov/vuln/detail/CVE-2023-32784
https://github.com/keepassxreboot/keepassxc/discussions/9433
https://sourceforge.net/p/keepass/discussion/329220/thread/f3438e6283/