CVE-2024-7812 SourceCodester Best House Rental Management System POST Parameter ajax.php cross site scripting
Remote attackers can inject malicious scripts via the lastname parameter in ajax.php, potentially compromising user sessions or executing code.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-7812?
CVE-2024-7812 is a medium-severity cross-site scripting vulnerability in SourceCodester Best House Rental Management System, published on 15 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability classified as problematic was found in SourceCodester Best House Rental Management System 1.0. This vulnerability affects unknown code of the file /rental_0/rental/ajax.php?action=save_tenant of the component POST Parameter Handler. The manipulation of the argument lastname leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-79
Which versions are affected by CVE-2024-7812?
It affects 1 product.
Products include Mayurik Best House Rental Management System.
How do I fix CVE-2024-7812?
No fix has been published for CVE-2024-7812 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-7812 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7812 exists.
Other vulnerabilities in SourceCodester Best House Rental Management System
Sources
Also known as GHSA-hqmj-gmw5-9c4j.