Best House Rental Management System
CVE-2025-12208
MEDIUM
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-exposed unauthenticated login endpoint with no complexity barrier; partial CIA impact reflects SQL injection limited to login-layer data exposure and manipulation.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in SourceCodester Best House Rental Management System 1.0. This impacts the function login2 of the file /admin_class.php. Performing manipulation of the argument Username results in sql injection. The attack is possible to be carried out remotely. The exploit has been made public and could be used.
AnalysisAI
SQL injection in SourceCodester Best House Rental Management System 1.0 allows unauthenticated remote attackers to manipulate the Username parameter in the login2 function of /admin_class.php, enabling authentication bypass or database enumeration. A public proof-of-concept exploit has been published on GitHub, confirming exploitability. No KEV listing and a low EPSS score (0.03%, 8th percentile) suggest exploitation remains opportunistic and low-volume, consistent with the niche deployment footprint of this PHP script.
Technical ContextAI
The affected product is a PHP-based rental management application distributed by SourceCodester under the vendor identifier 'mayurik', pinned at version 1.0 per CPE cpe:2.3:a:mayurik:best_house_rental_management_system:1.0:*:*:*:*:*:*:*. The vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - Injection), a parent class covering SQL injection. The root cause is the failure to use parameterized queries or prepared statements in the login2 function within /admin_class.php; the Username parameter is concatenated directly into a SQL query, allowing an attacker to alter query logic. This is a classic first-generation SQL injection pattern in PHP applications using procedural database calls.
RemediationAI
No vendor-released patch has been identified at time of analysis; no patched version is referenced in any available advisory or NVD data. Developers should immediately replace the vulnerable login2 function in /admin_class.php with parameterized queries or prepared statements (e.g., PHP PDO or MySQLi with bound parameters) to neutralize the injection vector - this eliminates the root cause. As an interim compensating control, restrict public access to the /admin_class.php endpoint via web server configuration (Apache .htaccess or nginx location blocks), limiting access to known administrative IP ranges; this reduces the attack surface but does not fix the underlying flaw. Deploying a Web Application Firewall with SQL injection rule sets can intercept common payloads but risks false positives on legitimate login traffic. The VulDB entry is at https://vuldb.com/?id.329878 and the public POC is documented at https://github.com/K1nakoo/cve/blob/main/58/report.md.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Share
External POC / Exploit Code
Leaving vuln.today