提交 #836238: SourceCodester Barangay Resident Profiling and Information Management System (BRPMS) in PHP/MySQL 0 Unverified Password Change信息

标题SourceCodester Barangay Resident Profiling and Information Management System (BRPMS) in PHP/MySQL 0 Unverified Password Change
描述During the assessment of the "Barangay Resident Profiling and Information Management System (BRPMS) in PHP/MySQL". It was observed that the application developer has kept a hard reset password page at "passsword_reset.php". This allows any external user or threat actor to simply call the page and hard reset the password to 'password123'. Thus, allowing any user/threat actor to gain access to the "admin" user with its default credentials. It is highly possible that when this application is used in the production by the users or any organization, they might miss to delete the page, as it will allow users/threat actors to abuse this functionality to gain unauthorized access to the admin user and make unauthorized changes. This can be validated in "password_reset.php", on line 20. $new_password = 'password123'; Python3 Exploit Code: import re import requests url = "http://localhost/BRPMS_SANFABIAN/password_reset.php" resp = requests.get(url, timeout=10) if resp.status_code == 200: match = re.search(r'Password:</strong>\s*<code>(.*?)</code>', resp.text, re.IGNORECASE) if match: print(match.group(1)) else: print("Password field not found.") else: print("Request failed with status:", resp.status_code)
用户
 Kamran Saifullah (UID 4218)
提交2026-05-23 20時50分 (16 日前)
管理2026-06-07 17時53分 (15 days later)
状态已接受
VulDB条目369135 [SourceCodester Barangay Resident Profiling and Information Management System Password Reset passsword_reset.php 弱身份验证]
积分17

Interested in the pricing of exploits?

See the underground prices here!