CVE-2021-42949
Linux Debian vulnerability analysis and mitigation

Overview

The component controlla_login function in HotelDruid Hotel Management Software v3.0.3 generates a predictable session token, allowing attackers to bypass authentication via bruteforce attacks. This vulnerability was discovered in 2021 and assigned CVE-2021-42949, with a CVSS v3.1 base score of 9.8 (CRITICAL). The vulnerability affects HotelDruid version 3.0.3 and earlier versions (NVD, GitHub Advisory).

Technical details

The vulnerability stems from the predictable pattern used in session token generation. The session ID is dynamically created at each login using a pattern that combines {date}{time}{100000-999999}{incremented login attempts}. While the session ID is correlated with stored data (remote_addr and user-agent) for partial mitigation, these additional security measures can be bypassed. The user agent can be guessed or known, and the remote_addr check can be circumvented by using the same computer as the vulnerable session or becomes irrelevant if the webapp is behind a reverse proxy (GitHub Advisory).

Impact

An attacker can potentially bypass authentication and gain unauthorized access to the HotelDruid management interface by identifying and bruteforcing valid session IDs. This could lead to complete system compromise given the critical nature of the hotel management software and its access to sensitive information (NVD).

Exploitability

The vulnerability can be exploited by identifying a valid session ID through a combination of guessed information and brute force attacks. The predictable nature of the session token generation makes it relatively quick to guess or brute force the values (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in versions after 3.0.3. Hotel Druid administrators are advised to update their software to the latest patched version. As of November 2024, the latest available version is 3.0.7 (HotelDruid Website).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-42170HIGH7.8
  • Linux Debian logoLinux Debian
  • gimp-devel-tools
NoYesAug 08, 2026
CVE-2026-15534NONEN/A
  • Linux Debian logoLinux Debian
  • perl
NoNoAug 09, 2026
CVE-2026-17510NONEN/A
  • Linux Debian logoLinux Debian
  • libcrypt-openssl-pkcs12-perl
NoNoAug 09, 2026
CVE-2026-68082NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesAug 08, 2026
CVE-2026-68081NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesAug 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management