CVE-2022-2490 SourceCodester Simple E-Learning System search.php sql injection

Medium 6.3 Published Updated

Remote attackers can exploit SQL injection in search.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-2490?

CVE-2022-2490 is a medium-severity SQL injection vulnerability in SourceCodester Simple E-Learning System, published on 20 Jul 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 Simple E-Learning System 1.0. Affected is an unknown function of the file search.php. The manipulation of the argument classCode with the input 1'||(SELECT 0x74666264 WHERE 5610=5610 AND (SELECT 7504 FROM(SELECT COUNT(*),CONCAT(0x7171627a71,(SELECT (ELT(7504=7504,1))),0x71717a7071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a))||' 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-2022-2490?

It affects 1 product.

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

How do I fix CVE-2022-2490?

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

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

Sources

Also known as GHSA-749r-f9hv-8wjr.

Is CVE-2022-2490 in your software?

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

Check your SBOMs for free