Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-42949 PoC — HotelDruid 授权问题漏洞

Source
Associated Vulnerability
Title:HotelDruid 授权问题漏洞 (CVE-2021-42949)
Description:HotelDruid是Digitaldruid.net团队的一套酒店管理系统。该系统包括客房管理、财务管理和库存管理等功能。 HotelDruid Hotel Management Software v3.0.3版本存在授权问题漏洞,该漏洞源于controlla_login函数会生成可预测的会话令牌。攻击者利用该漏洞通过暴力攻击绕过身份验证。
Readme
# CVE-2021-42949
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.

The session id is dynamically created at each login using the following generalized syntax: {date}{time}{100000-999999}{incremented login attempts}.  These values can be guessed and/or brute forced relatively quickly.  The session id is correlated with other data stored (remote_addr and user-agent) which partially mitigates this issue; however, the user agent can be guessed/known and the remote_addr can by bypassed by using the same computer as the vulnerable session and/or irrelevant if, for example, the webapp is behind a reverse proxy.

To exploit the vulnerability, an attacker may identify a valid session id and gain authenticated access through a combination of guessed information and brute force.

## Remediation
The vendor has committed to patching this vulnerability in the next release cycle of their software.  Hotel Druid administrators should update their software to the patched version once made available.

## Reference
https://www.hoteldruid.com/

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42949
File Snapshot

[4.0K] /data/pocs/310ee5a1ae9ca35565ba7a4d683ecb849c48aa8a └── [1.2K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.