CVE-2022-2680 SourceCodester Church Management System login.php sql injection

Medium 6.3 Published Updated

Remote attackers can exploit SQL injection in the login form to read or modify database contents in SourceCodester Church Management 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-2022-2680?

CVE-2022-2680 is a medium-severity SQL injection vulnerability in SourceCodester Church Management System, published on 5 Aug 2022. 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 Church Management System 1.0. Affected is an unknown function of the file /login.php. The manipulation of the argument username with the input ' OR (SELECT 7064 FROM(SELECT COUNT(*),CONCAT(0x71627a7671,(SELECT (ELT(7064=7064,1))),0x716b707871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- jURL leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-205668.

Weakness: CWE-89

Which versions are affected by CVE-2022-2680?

It affects 1 product.

Products include Church Management System Project Church Management System.

How do I fix CVE-2022-2680?

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

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

Sources

Also known as GHSA-v254-64cc-mh45.

Is CVE-2022-2680 in your software?

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

Check your SBOMs for free