إرسال #882422: 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 archived resident management workflow of BRPMS. The application accepts a user-controlled resident_id and performs restore or permanent delete operations against the residents table. Although permanent deletion requires the current user's password, the authorization decision is still limited to "the user knows their own password" rather than "the user is authorized to delete this resident record." The restore action has no password confirmation at all. Vulnerable restore logic: $resident_id = $_POST['resident_id']; $stmt = $conn->prepare("UPDATE residents SET is_archived = 0, date_archived = NULL WHERE id = ?"); Vulnerable delete logic: $resident_id = $_POST['resident_id']; $delete_stmt = $conn->prepare("DELETE FROM residents WHERE id = ?"); Relevant code: archived_records.php, lines 5, 13, 30, 42, and 44
المصدر⚠️ https://gist.github.com/c4ttr4ck/190b532b4b239fdc8f6fb72d89bde2c8
المستخدم
 c4ttr4ck (UID 75518)
ارسال07/07/2026 10:25 PM (2 أشهر منذ)
الاعتدال23/08/2026 08:08 AM (2 months later)
الحالةتمت الموافقة
إدخال VulDB394525 [code-projects Barangay Resident Profiling Management System 1.0 Restore/Delete /archived_records.php resident_id تجاوز الصلاحيات]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!