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).

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-0821MEDIUM6.9
  • Linux DebianLinux Debian
  • quickjs
NoNoJan 10, 2026
CVE-2026-22703MEDIUM5.5
  • Linux DebianLinux Debian
  • cosign
NoNoJan 10, 2026
CVE-2026-0822MEDIUM5.3
  • Linux DebianLinux Debian
  • quickjs
NoNoJan 10, 2026
CVE-2025-15506MEDIUM4.8
  • Linux DebianLinux Debian
  • opencolorio
NoNoJan 11, 2026
CVE-2026-22702MEDIUM4.5
  • Linux DebianLinux Debian
  • python-virtualenv
NoNoJan 10, 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