CVE-2024-7815 CodeAstro Online Railway Reservation System Update Employee Page admin-update-employee.php cross site scripting

Medium 5.1 Published Updated

An attacker can inject malicious scripts into the employee update page, potentially compromising user sessions or data.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-7815?

CVE-2024-7815 is a medium-severity cross-site scripting vulnerability in CodeAstro Online Railway Reservation System, published on 15 Aug 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been found in CodeAstro Online Railway Reservation System 1.0 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /admin/admin-update-employee.php of the component Update Employee Page. The manipulation of the argument emp_fname /emp_lname /emp_nat_idno/emp_addr leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-79

Which versions are affected by CVE-2024-7815?

It affects 1 product.

Products include Online Railway Reservation System Project Online Railway Reservation System.

How do I fix CVE-2024-7815?

No fix has been published for CVE-2024-7815 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-7815 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7815 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-q2wf-pr3p-9rhr.

Is CVE-2024-7815 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free