| タイトル | code-projects Barangay Resident Profiling Management System (BRPMS) / Barangay San Fabian 1.0 Insecure Direct Object Reference (IDOR) |
|---|
| 説明 | An authenticated IDOR vulnerability exists in the boarder management module of BRPMS.
The endpoint accepts a user-controlled id value and directly applies read, update, archive, restore, and permanent delete operations to the corresponding boarders row. The code checks only whether the user is logged in via check_login(), but it does not verify whether the current user is authorized to manage the selected object or whether the action should require a higher-privilege account.
Examples:
$id = isset($_GET['id']) ? (int)$_GET['id'] : 0;
DELETE FROM boarders WHERE id = ?
UPDATE boarders SET is_archived = 1, date_archived = NOW() WHERE id = ?
Relevant code:
boarders.php, lines 4, 7, 43, 104, 119, 135, and 164
|
|---|
| ソース | ⚠️ https://gist.github.com/c4ttr4ck/3601aa0ba9e567705823b6d425e84237 |
|---|
| ユーザー | c4ttr4ck (UID 75518) |
|---|
| 送信 | 2026年07月07日 22:28 (2 月 ago) |
|---|
| モデレーション | 2026年08月23日 08:08 (2 months later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 394527 [code-projects Barangay Resident Profiling Management System 1.0 Boarder Management /boarders.php 識別子 特権昇格] |
|---|
| ポイント | 20 |
|---|