Best House Rental Management System
CVE-2025-12226
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin credentials
-
DeliveryAuthenticate to admin panel
-
ExploitNavigate to house save function
-
ExecutionInject SQL in house_no parameter
-
ImpactExtract/modify database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires high-privilege administrative access (PR:H) to the application - an attacker must either possess valid admin credentials or compromise an admin account beforehand. No unauthenticated exploitation is possible; the attack cannot be launched against default configurations without prior authentication. The vulnerable code path is triggered by submitting the save_house function with a malicious house_no parameter value. No special application configuration is required beyond having the admin panel active. Exploitation is blocked by: (1) lack of valid admin credentials, (2) lack of network access to the admin panel (if properly restricted), and (3) potential (but unconfirmed) input validation that may exist in specific deployments. |
| Impact | This vulnerability presents a paradoxical risk profile: while CVSS 4.0 and CWE-74 suggest SQL injection severity, the exploitation requirements substantially limit practical impact. The CVSS vector mandates PR:H (high privilege/admin-level credentials), fundamentally changing the threat model from unauthenticated remote exploitation to insider/compromised-admin scenarios. EPSS score of 0.04% (11th percentile) aligns with this constraint, indicating low probability of widespread exploitation despite POC availability. The presence of publicly available exploit code increases risk for organizations where admin accounts are weak, shared, or already compromised, but does not translate to mass exploitation potential. Real-world priority depends entirely on your admin credential hygiene; if admin accounts are properly isolated and monitored, this remains a low-priority issue despite public POC. Conversely, organizations with weak admin security should treat this as high-priority for immediate patching, as the admin barrier is the sole protection. |
| Exploit ScenarioDerived | An attacker with stolen or weak admin credentials logs into the application admin panel, navigates to the house management function, and injects SQL syntax into the house_no input field (e.g., house_no=1' OR '1'='1). The unsanitized input is passed directly to an SQL query, allowing extraction of sensitive database records (renter information, payment data) or modification of house records. Public POC code on GitHub demonstrates this attack path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in SourceCodester Best House Rental Management System 1.0 allows high-privilege remote attackers to manipulate the house_no parameter in the save_house function of /admin_class.php, achieving limited confidentiality and integrity impact. Publicly available exploit code exists but exploitation requires administrative credentials (PR:H), significantly restricting real-world attack surface despite the CVSS 4.0 network vector.
RemediationAI
No vendor-released patch has been identified at time of analysis. Immediate remediation requires upgrading to a patched version if available from SourceCodester, or applying parameterized query fixes to the save_house function in /admin_class.php to eliminate SQL injection. Temporary compensating controls include: (1) Restrict admin panel access (/admin_class.php and related endpoints) to specific IP ranges or VPN, reducing exposure of the high-privilege requirement; (2) Implement Web Application Firewall (WAF) rules blocking SQL metacharacters in house_no parameter values (single quotes, semicolons, SQL keywords); (3) Monitor admin account login logs for unauthorized access; (4) Enforce strong, unique admin passwords and disable default credentials. Contact SourceCodester via https://www.sourcecodester.com/ for patch availability and timeline.
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 vulnerability exists in PHP-based web application logic where user-supplied input (house_no parameter) is insufficiently sanitized before being incorporated into SQL queries within the save_house function. CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) indicates the application fails to properly escape or parameterize SQL inputs, allowing attackers with admin access to inject arbitrary SQL commands. The affected product is identified via CPE as mayurik/best_house_rental_management_system version 1.0, a lightweight PHP rental management application lacking parameterized query protections.
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in SourceCodester Best House Rental Management System 1.0. Impacted is the function save_house of the file /admin_class.php. Performing manipulation of the argument house_no results in sql injection. Remote exploitation of the attack is possible. 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
SQL injection in SourceCodester Best House Rental Management System 1.0 allows unauthenticated remote attackers to manip
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB