CVE-2022-2489 SourceCodester Simple E-Learning System classRoom.php sql injection
Remote attackers can exploit SQL injection in classRoom.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-2489?
CVE-2022-2489 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 was found in SourceCodester Simple E-Learning System 1.0. It has been rated as critical. This issue affects some unknown processing of the file classRoom.php. The manipulation of the argument classCode with the input 1'||(SELECT 0x6770715a WHERE 8795=8795 AND (SELECT 8342 FROM(SELECT COUNT(*),CONCAT(0x7171786b71,(SELECT (ELT(8342=8342,1))),0x717a7a7671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a))||' leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-89
Which versions are affected by CVE-2022-2489?
It affects 1 product.
Products include Simple E-Learning System Project Simple E-Learning System.
How do I fix CVE-2022-2489?
No fix has been published for CVE-2022-2489 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-2489 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2489 exists.
Other vulnerabilities in SourceCodester Simple E-Learning System
- CVE-2022-40872 SQL injection in n/a
- CVE-2022-43319 Path traversal in n/a
- CVE-2022-2699 SourceCodester Simple E-Learning System claire_blake sql injection
- CVE-2022-2697 SourceCodester Simple E-Learning System comment_frame.php sql injection
- CVE-2022-2698 SourceCodester Simple E-Learning System search.php sql injection
Sources
Also known as GHSA-c629-2vqq-2cwp.