CVE-2022-2705 SourceCodester Simple Student Information System manage_department.php sql injection

Medium 6.3 Published Updated

Remote attackers can exploit SQL injection in manage_department.php to read sensitive database information from the Simple Student Information 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-2705?

CVE-2022-2705 is a medium-severity SQL injection vulnerability in SourceCodester Simple Student Information System, published on 8 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in SourceCodester Simple Student Information System. It has been rated as critical. This issue affects some unknown processing of the file admin/departments/manage_department.php. The manipulation of the argument id with the input -5756%27%20UNION%20ALL%20SELECT%20NULL,database(),user(),NULL,NULL,NULL,NULL--%20- leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-205829 was assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2022-2705?

It affects 1 product.

Products include Simple Student Information System Project Simple Student Information System.

How do I fix CVE-2022-2705?

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

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

Sources

Also known as GHSA-vw9w-cccv-cw4f.

Is CVE-2022-2705 in your software?

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

Check your SBOMs for free