This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login. Read the full analysis β
Q1What is this vulnerability? (Essence + Consequences)
π¨ **Essence**: Unauthenticated SQL Injection in WP Hotel Booking. <br>π₯ **Consequences**: Attackers can extract sensitive database info. Critical data breach risk. CVSS Score is High (9.8).
Q2Root Cause? (CWE/Flaw)
π‘οΈ **Root Cause**: CWE-89 (SQL Injection). <br>π **Flaw**: Insufficient escaping of user input. Lack of prepared statements in SQL queries. Specifically affects the `room_type` parameter.
Q3Who is affected? (Versions/Components)
π’ **Affected**: WordPress Plugin: **WP Hotel Booking**. <br>π¦ **Versions**: 2.1.0 and earlier. <br>π **Vendor**: Thimpress.
Q4What can hackers do? (Privileges/Data)
π΅οΈ **Hackers Can**: Append malicious SQL queries. <br>π **Data Access**: Extract sensitive information from the database. <br>π **Privileges**: Unauthenticated access required. No login needed.
Q5Is exploitation threshold high? (Auth/Config)
β‘ **Threshold**: LOW. <br>π **Auth**: None required (Unauthenticated). <br>π **Access**: Via REST API endpoint `/wphb/v1/rooms/search-rooms`. Easy to trigger.
Q6Is there a public Exp? (PoC/Wild Exploitation)
π» **Public Exp?**: YES. <br>π **PoC Available**: GitHub repo by RandomRobbieBF. <br>π **Scanner**: Nuclei templates exist. Wild exploitation is feasible.
Q7How to self-check? (Features/Scanning)
π **Self-Check**: Scan for WP Hotel Booking plugin. <br>π‘ **Target**: Check REST API endpoint `/wphb/v1/rooms/search-rooms`. <br>π§ͺ **Test**: Inject SQL via `room_type` parameter. Use automated scanners like Nuclei.
π§ **No Patch?**: Disable the plugin immediately. <br>π« **Block**: Restrict access to `/wphb/v1/rooms/search-rooms` via WAF. <br>π **Mitigate**: Input validation on server side if plugin must stay.
Q10Is it urgent? (Priority Suggestion)
π₯ **Urgency**: CRITICAL. <br>β° **Priority**: Patch IMMEDIATELY. <br>β οΈ **Risk**: High CVSS (9.8). Unauthenticated. Active exploits exist. Data at high risk.