CVE-2022-40872 SQL injection in n/a
Attackers can exploit SQL injection in the classCode parameter to read or modify database contents in the Simple E-Learning System.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-40872?
CVE-2022-40872 is a critical SQL injection vulnerability in n/a, published on 7 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An SQL injection vulnerability issue was discovered in Sourcecodester Simple E-Learning System 1.0., in /vcs/classRoom.php?classCode=, classCode.
Weakness: CWE-89
Which versions are affected by CVE-2022-40872?
It affects 1 product.
Products include Simple E-Learning System Project Simple E-Learning System.
How do I fix CVE-2022-40872?
No fix has been published for CVE-2022-40872 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-40872 being exploited?
There is no known exploitation of CVE-2022-40872 in the wild and no public exploit code.
Other vulnerabilities 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
- CVE-2022-2665 SourceCodester Simple E-Learning System classroom.php sql injection
Sources
Also known as GHSA-hr5h-qhmp-927q.