CVE-2024-8080 SourceCodester Online Health Care System search.php sql injection

Medium 5.3 Published Updated

Remote attackers can exploit SQL injection in search.php to extract database information from the Online Health Care System.

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

CVE-2024-8080 is a medium-severity SQL injection vulnerability in SourceCodester Online Health Care System, published on 22 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical has been found in SourceCodester Online Health Care System 1.0. Affected is an unknown function of the file search.php. The manipulation of the argument f_name with the input 1%' or 1=1 ) UNION SELECT 1,2,3,4,5,database(),7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23# as part of string leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-89

Which versions are affected by CVE-2024-8080?

It affects 1 product.

Products include Online Health Care System Project Online Health Care System.

How do I fix CVE-2024-8080?

No fix has been published for CVE-2024-8080 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-8080 being exploited?

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

Sources

Also known as GHSA-32r3-gj72-h3p2.

Is CVE-2024-8080 in your software?

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

Check your SBOMs for free