CVE-2024-4645 SourceCodester Prison Management System changepassword.php cross site scripting

Medium 5.3 Published Updated

Cross-site scripting in SourceCodester Prison Management System allows attackers to inject scripts via password fields, potentially compromising user sessions.

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-4645?

CVE-2024-4645 is a medium-severity cross-site scripting vulnerability in SourceCodester Prison Management System, published on 8 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in SourceCodester Prison Management System 1.0 and classified as problematic. This issue affects some unknown processing of the file /Admin/changepassword.php. The manipulation of the argument txtold_password/txtnew_password/txtconfirm_password leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-263489 was assigned to this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-4645?

It affects 1 product.

Products include Fast5 Prison Management System.

How do I fix CVE-2024-4645?

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

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

Sources

Also known as GHSA-7grm-v449-2cv5.

Is CVE-2024-4645 in your software?

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

Check your SBOMs for free