CVE-2022-2697 SourceCodester Simple E-Learning System comment_frame.php sql injection

Medium 6.3 Published Updated

Attackers can exploit SQL injection in comment_frame.php to read or modify database contents in the Simple E-Learning 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-2697?

CVE-2022-2697 is a medium-severity SQL injection vulnerability in SourceCodester Simple E-Learning System, published on 7 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 E-Learning System. It has been classified as critical. Affected is an unknown function of the file comment_frame.php. The manipulation of the argument post_id leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-205818 is the identifier assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2022-2697?

It affects 1 product.

Products include Simple E-Learning System Project Simple E-Learning System.

How do I fix CVE-2022-2697?

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

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

Sources

Also known as GHSA-9px8-826v-v934.

Is CVE-2022-2697 in your software?

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

Check your SBOMs for free