提交 #882425: code-projects Barangay Resident Profiling Management System (BRPMS) / Barangay San Fabian 1.0 Insecure Direct Object Reference (IDOR)信息

标题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 月前)
管理2026-08-23 08時08分 (2 months later)
状态已接受
VulDB条目394527 [code-projects Barangay Resident Profiling Management System 1.0 Boarder Management /boarders.php 标识符 权限提升]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!