CVE-2022-42923 SQL injection in Forma LMS
An authenticated student can exploit SQL injection to dump the database or delete user files in Forma LMS.
- 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-42923?
CVE-2022-42923 is a high-severity SQL injection vulnerability in Forma LMS, published on 31 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Forma LMS on its 3.1.0 version and earlier is vulnerable to a SQL injection vulnerability. The exploitation of this vulnerability could allow an authenticated attacker (with the role of student) to perform a SQL injection on the 'id' parameter in the 'appCore/index.php?r=adm/mediagallery/delete' function in order to dump the entire database or delete all contents from the 'core_user_file' table.
Weakness: CWE-89
Which versions are affected by CVE-2022-42923?
It affects 1 product.
Products include Formalms Formalms.
How do I fix CVE-2022-42923?
No fix has been published for CVE-2022-42923 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-42923 being exploited?
There is no known exploitation of CVE-2022-42923 in the wild and no public exploit code.
Other vulnerabilities in Forma LMS
Sources
Also known as GHSA-rr3f-c78w-wgq8.