CVE-2023-33817
High · 8.8CVSS
8.8
EPSS
1.5%
Published
Jun 13, 2023
CISA due date
—
Cloudanix analysis
A flaw in older versions of this hotel-management software lets attackers steal or change private guest and booking information by sending specially crafted requests to the website.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits unauthenticated or low-privileged remote attackers to inject arbitrary SQL syntax through unsanitized user-supplied input, allowing execution of attacker-controlled queries against the application's database that can read, modify, or delete data and potentially escalate to operating-system command execution.
Why it matters to the business
Attackers can obtain or alter guest records, reservations, and financial information stored by the hotel-management application, leading to data breaches, regulatory penalties, loss of customer trust, and operational disruption; the flaw has been publicly known for over three years with working exploits available, increasing exposure for any remaining unpatched installations.
How an attack unfolds
An attacker locates a publicly reachable HotelDruid instance, identifies web forms or URL parameters that reach the database without proper escaping, submits crafted SQL fragments that alter the intended query logic, and uses the resulting error messages or returned data to extract sensitive records or obtain a foothold for further attacks.
How to fix it
Upgrade to the latest version of HotelDruid that contains the fix; if an official patch is unavailable, apply vendor-recommended hardening such as prepared statements, input whitelisting, and least-privilege database accounts, then retest all dynamic queries.
How to confirm the fix worked
Perform authenticated and unauthenticated web-application scans using SQL-injection test suites, review application source for unsanitized concatenation of user input into SQL statements, and verify that error messages no longer disclose database structure or contents.
Typical attack path
- Scan for exposed HotelDruid installations on the internet or internal networks
- Map input vectors such as login forms, search fields, or reservation parameters
- Inject SQL payloads to manipulate query structure and confirm vulnerability via database errors or timing
- Leverage successful injection to dump tables containing credentials or guest data
- Pivot to authenticated sessions or attempt further privilege escalation via database functions
How to detect it
Inspect web-server access logs and application logs for SQL metacharacters such as single quotes, UNION SELECT, or comment markers appearing in parameters that normally contain only alphanumeric data; correlate with database audit logs showing unexpected query structures or large result sets.
- UNION SELECT
- ' OR '1'='1
- /*
- --
- sleep(
- benchmark(
What your security team should do
- Immediately inventory all HotelDruid deployments and schedule emergency upgrades or decommissioning
- Place affected instances behind a web-application firewall with SQL-injection rule sets until patches are applied
- Enable detailed database query logging and monitor for anomalous SQL patterns
- Review and revoke any database credentials used by the application that possess unnecessary privileges
The record
hoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | hoteldruid | 0 | No fix |
| Debian:12 | hoteldruid | 0 | No fix |
| Debian:13 | hoteldruid | 0 | 3.0.6-1 |
| 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 | No fix |
| Ubuntu:24.10 | hoteldruid | 0 | No fix |
| Ubuntu:25.04 | hoteldruid | 0 | No fix |
| Ubuntu:25.10 | hoteldruid | 0 | No fix |
| 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-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
- CVE-2023-34537 A Reflected XSS was discovered in HotelDruid version 3.0.5, an attacker can issue… Also affects hoteldruid