Submit #1081185: SourceCodester Real Estate Property Listing App 1.0 Credentials Managementinfo

TitelSourceCodester Real Estate Property Listing App 1.0 Credentials Management
BeschreibungProduct: Real Estate Property Listing App v1.0 (SourceCodester project ID 18526, published 2025-11-27). https://www.sourcecodester.com/php/18526/real-estate-property-listing-app-using-php-and-mysql-source-code.html Use of Hard-coded Credentials (CWE-798) in the administrative login: admin/login.php lines 5-6 hardcode $valid_password = 'admin123'. Worse, the login page HTML (lines 75-80) DISPLAYS the credentials publicly in the page markup, so any visitor can read the admin username/password directly from the unauthenticated login page. Every deployment of this download keeps these factory credentials active - there is no forced change, no installer-generated password. Impact: full administrative takeover of any internet-facing installation (manage/delete all property listings and inquiries, arbitrary file upload - see the separate unrestricted-upload submission which turns this factory credential into unauthenticated remote code execution). Verified on a local deployment: curl -i -X POST -d "username=admin&password=admin123" .../admin/login.php -> HTTP 302 with an authenticated admin session cookie. curl .../admin/login.php (unauthenticated GET) -> the HTML contains the credential hint text with admin/admin123. Suggested fix: remove hardcoded credentials, require an installer step that sets the admin password, never display credentials on the login page. References: sourcecodester.com ID 18526. No prior advisory for this product (checked NVD/Exploit-DB/VulDB).
Benutzer
 kingkingqc (UID 102826)
Einreichung08.11.2026 09:11 (vor 22 Tagen)
Moderieren29.11.2026 20:49 (21 days later)
StatusAkzeptiert
VulDB Eintrag445251 [SourceCodester Real Estate Property Listing App 1.0 Admin Login admin/login.php schwache Authentisierung]
Punkte17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!