CVE-2025-12208CWE-74CWE-89sql-injection

CVE-2025-12208

High · published October 27, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
40.3
In the wild
Unconfirmed
What it is

⚠️ A clever twist in the login process can lead to SQL injection! By manipulating the username argument in SourceCodester’s Best House Rental Management System, an attacker could exploit this vulnerability from anywhere! 🔥 Think of it like a restaurant where a rogue diner changes their order to something far more expensive, sneaking a costly dish onto someone else's bill. This SQL injection lets attackers slip harmful queries into the system, just like that sneaky diner! If exploited, an attacker could gain unauthorized access to sensitive data, potentially leading to data leaks or unauthorized modifications. While it's not the worst-case scenario, it can still cause chaos and compromise the security of your rental management system!

Put simply

Think of it like a restaurant where a rogue diner changes their order to something far more expensive, sneaking a costly dish onto someone else's bill. This SQL injection lets attackers slip harmful queries into the system, just like that sneaky diner! This vulnerability in the SourceCodester Best House Rental Management System allows attackers to inject malicious SQL statements via the manipulated 'Username' field in the login function, thereby compromising the database integrity.

What to do

If exploited, an attacker could gain unauthorized access to sensitive data, potentially leading to data leaks or unauthorized modifications. While it's not the worst-case scenario, it can still cause chaos and compromise the security of your rental management system! To secure your system, immediately patch to the latest version of the rental management system to close this vulnerability. Additionally, validate and sanitize all user inputs, especially in login forms, to prevent SQL injection attacks. You've got this! Follow these steps and you’ll be a security hero, keeping your system safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00478 · 40.3th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-10-27T07:15Z
Affected products (1)
ProductVersionsFixed in
mayurik/best_house_rental_management_systemall versions—
References (6)
EPSS history
Timeline
  • 27 OCT 03:02Z
    SourceCodester Best House Rental Management System admin_class.php login2 sql injection
    cvelistv5