CVE-2022-2086 SourceCodester Bank Management System login.php sql injection

Medium 6.3 Published Updated

Remote attackers can exploit SQL injection in the login page to bypass authentication and access sensitive banking data.

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

CVE-2022-2086 is a medium-severity SQL injection vulnerability in SourceCodester Bank Management System, published on 15 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in SourceCodester Bank Management System 1.0. Affected by this issue is login.php. The manipulation of the argument password with the input 1'and 1=2 union select 1,sleep(10),3,4,5 --+ leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-89

Which versions are affected by CVE-2022-2086?

It affects 1 product.

Products include Bank Management System Project Bank Management System.

How do I fix CVE-2022-2086?

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

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

Sources

Also known as GHSA-qfc4-pwcf-h2pq.

Is CVE-2022-2086 in your software?

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

Check your SBOMs for free