VYPR
Unrated severityNVD Advisory· Published Oct 24, 2024· Updated Oct 25, 2024

SourceCodester Best House Rental Management System Manage Tenant Details index.php cross site scripting

CVE-2024-10348

Description

A vulnerability was found in SourceCodester Best House Rental Management System 1.0. It has been classified as problematic. This affects an unknown part of the file /index.php?page=tenants of the component Manage Tenant Details. The manipulation of the argument Last Name/First Name/Middle Name leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The initial researcher advisory only shows the field "Last Name" to be affected. Other fields might be affected as well.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Stored XSS in Best House Rental Management System 1.0 allows attackers to inject arbitrary JavaScript via tenant name fields, leading to session hijacking or credential theft.

Vulnerability

The Best House Rental Management System 1.0 from SourceCodester is vulnerable to stored cross-site scripting (XSS) in the Manage Tenant Details functionality. The application fails to sanitize the Last Name, First Name, and Middle Name parameters when submitted via POST to /index.php?page=tenants. This allows an attacker to inject arbitrary scripts that are stored and executed when any user visits the tenants page. The vulnerability affects version 1.0 of the software.

Exploitation

An attacker can remotely exploit this vulnerability by submitting a crafted payload in the Last Name, First Name, or Middle Name fields while adding or editing a tenant. The attacker needs network access to the vulnerable endpoint and can perform the attack without authentication if the tenant management page is publicly accessible. The payload is stored in the database and triggers when an administrator or user views the tenants list, as demonstrated in the proof of concept provided by the researcher [2].

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser. This can lead to session hijacking, credential theft, website defacement, or redirection to malicious sites. The impact is limited to the browser session of users who view the affected tenant details, but can result in further compromise if administrative sessions are hijacked.

Mitigation

As of the publication date (2024-10-24), no official patch has been released by SourceCodester. Users should implement input validation and output encoding for all name fields. A web application firewall (WAF) can be used to block malicious inputs. Since the exploit has been publicly disclosed, organizations using this software should apply safeguards immediately until a vendor fix is available.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.