Home / Companies / Sysdig / Blog / Post Details
Content Deep Dive

KeePass CVE-2023-32784: Detection of Processes Memory Dump

Blog post from Sysdig

Post Details
Company
Date Published
Author
Miguel Hernández
Word Count
1,295
Language
English
Hacker News Points
-
Summary

In June 2023, a critical vulnerability, CVE-2023-32784, was discovered in KeePass, an open-source password manager, that allows the extraction of the master password in cleartext from the memory of running processes, potentially granting attackers access to all stored credentials. The flaw stems from leftover strings in memory created by the SecureTextBoxEx during password entry, which cannot be effectively erased due to .NET framework constraints. Detection strategies for this vulnerability involve monitoring unusual access to the /proc directory on Linux systems using tools like Falco, which provides real-time alerts for suspicious activities. The article details a proof of concept exploiting the vulnerability, showing how attackers can gather credentials from process memory dumps and highlights the importance of upgrading to KeePass 2.54 to mitigate the risk, while also discussing similar credential theft tools like Mimipenguin and LaZagne.