Best House Rental Management System
CVE-2025-12208
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Best House Rental Management System login page
-
DeliverySend HTTP POST with SQL payload in Username field
-
ExploitTrigger unsanitized SQL query in login2 function
-
ExecutionBypass authentication or enumerate database
-
ImpactAccess admin panel or exfiltrate credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | No special conditions required beyond network access to the login endpoint. The vulnerable parameter (Username) is present in the default login form of the application and is processed without authentication, meaning exploitation requires only that the application be internet- or network-accessible. Limiting factors include: the application must be deployed on a publicly reachable host; the vulnerability is confined to version 1.0 of this specific SourceCodester script; and the low deployment prevalence of this niche PHP application substantially constrains the realistic exposed population. No non-default configuration, specific protocol, or elevated privilege is required to reach the vulnerable code path. |
| Impact | The CVSS 4.0 base score of 5.5 reflects a network-accessible, unauthenticated attack with low complexity and no user interaction, with partial confidentiality, integrity, and availability impact (VC:L/VI:L/VA:L). The E:P supplemental metric confirms a publicly available exploit. However, EPSS at 0.03% (8th percentile) indicates very low observed exploitation probability, aligning with the obscure nature of this product - a niche SourceCodester PHP script with minimal enterprise presence. The product is not listed in CISA KEV, so active exploitation at scale is not confirmed. The primary risk is to small-scale, publicly exposed rental management deployments running the unpatched version, where SQL injection at the login endpoint could yield credential theft, authentication bypass, or database exfiltration. No conflicting signals between CVSS and EPSS are present; the low EPSS is consistent with the rare product footprint rather than indicating a suppressed threat. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST request to /admin_class.php targeting the login2 function, injecting SQL syntax (e.g., ' OR '1'='1) into the Username field to bypass authentication and gain administrative access to the rental management panel, or to extract user credentials and database contents via UNION-based or error-based injection. A public POC demonstrating this technique is available on GitHub, lowering the skill barrier for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
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
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 Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
SQL Injection vulnerability in Best House rental management system project in php v.1.0 allows a remote attacker to exec
A vulnerability classified as critical has been found in SourceCodester Best House Rental Management System 1.0. Rated m
A vulnerability, which was classified as problematic, was found in SourceCodester Best House Rental Management System 1.
A vulnerability, which was classified as critical, has been found in SourceCodester Best House Rental Management System
A vulnerability classified as critical has been found in SourceCodester Best House Rental Management System 1.0. Rated m
A vulnerability was found in SourceCodester Best House Rental Management System 1.0 and classified as critical.php. Rate
A vulnerability has been found in SourceCodester Best House Rental Management System 1.0 and classified as critical. Rat
Best House Rental Management System 1.0 contains an arbitrary file upload vulnerability in the save_settings() function
Best House Rental Management System 1.0 contains an arbitrary file upload vulnerability in the update_account() function
Best House Rental Management System 1.0 contains an arbitrary file upload vulnerability in the signup() function of the
Best House Rental Management System 1.0 contains a SQL injection vulnerability in the delete_category() function of the
A Stored Cross Site Scripting (XSS) vulnerability was found in "manage_houses.php" in SourceCodester Best House Rental M
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB