CVE-2023-34854
NoneCVSS
—
EPSS
0.2%
Published
Dec 4, 2023
CISA due date
—
Cloudanix analysis
A logged-in user can trick the hotel management software into running harmful commands on its server by using the backup feature.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- RCE
- Remediation
- Other
- Effort
- Other
- Patch risk
- Other
What it actually does
Authenticated remote code execution achieved by crafting or manipulating backup files or restore operations to inject and execute arbitrary commands on the server.
Why it matters to the business
Compromise of hotel management systems can result in unauthorized access to guest data, operational disruption, and potential regulatory penalties for affected properties.
How an attack unfolds
An attacker first obtains valid credentials, then uses the backup or restore interface to upload a specially crafted file that triggers code execution during processing.
How to fix it
Update the HotelDruid installation to the latest available version that addresses the backup and restore handling; restrict administrative access to the feature and disable it if not required.
How to confirm the fix worked
Confirm the deployed version includes fixes for the backup/restore code paths, review configuration to ensure the feature requires elevated privileges, and test with simulated non-malicious backup operations.
Typical attack path
- Acquire authenticated access to the application
- Navigate to the backup or restore administrative function
- Prepare and submit a malicious backup archive or restore payload
- Trigger the restore or backup operation to execute the embedded code
- Leverage the resulting shell or process for further actions such as persistence or data access
How to detect it
Examine web server and application logs for unusual backup or restore requests, unexpected file uploads during those operations, and any resulting system command executions or new processes spawned by the application user.
What your security team should do
- Immediately audit and restrict permissions on the backup and restore functionality
- Enable detailed logging of all backup and restore operations
- Monitor for any available patches and schedule deployment
- Consider network segmentation for the application server
The record
[Authenticated remote code execution via backup/restore in HotelDruid]
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:18.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:20.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:22.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:24.04:LTS | hoteldruid | 0 | 3.0.6-1 |
| Ubuntu:24.10 | hoteldruid | 0 | 3.0.6-1 |
| Ubuntu:Pro:16.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | hoteldruid | 0 | No fix |
Related vulnerabilities
- CVE-2022-45592 [(1) Server Side Request Forgery (SSRF), (2) persistant Cross site scripting (XSS), and… Also affects hoteldruid
- CVE-2023-47164 Cross-site scripting vulnerability in HOTELDRUID 3.0.5 and earlier allows a remote… Also affects hoteldruid
- CVE-2023-43373 Hoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability via the… Also affects hoteldruid
- CVE-2023-43375 Hoteldruid v3.0.5 was discovered to contain multiple SQL injection vulnerabilities at… Also affects hoteldruid
- CVE-2023-43376 A cross-site scripting (XSS) vulnerability in /hoteldruid/clienti.php of Hoteldruid… Also affects hoteldruid
- CVE-2023-43374 Hoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability via the… Also affects hoteldruid
- CVE-2023-43377 A cross-site scripting (XSS) vulnerability in /hoteldruid/visualizza_contratto.php of… Also affects hoteldruid
- CVE-2023-43371 Hoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability via the… Also affects hoteldruid