CVE-2022-31788: IdeaLMS 2022 allows SQL injection via the IdeaLMS/ChatRoom/ClassAccessControl/6?isBigBlueButton=0&ClassID= pat
CVE-2022-31788 is a critical-severity flaw (CVSS 9.8) affecting idealms. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
IdeaLMS 2022 allows SQL injection via the IdeaLMS/ChatRoom/ClassAccessControl/6?isBigBlueButton=0&ClassID= pathname.
Why this priority
- Critical severity
- EPSS top 3%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 14.7% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2022-06-10 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: gist.github.com/RNPG/b154f4b2e90340d2f39605989af06bee
- Write-up: gist.github.com/This-is-Neo/cc5b08ad8a3a60cd81fd1b9c1cb573b4
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-31788?
idealms: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-31788 being exploited?
CVE-2022-31788 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-31788 affect?
CVE-2022-31788 affects idealms. Severity is critical (CVSS 9.8). IdeaLMS 2022 allows SQL injection via the IdeaLMS/ChatRoom/ClassAccessControl/6?isBigBlueButton=0&ClassID= pathname.
How urgent is CVE-2022-31788?
Priority 68/100. Critical severity; EPSS top 3%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-31786 MEDIUM 6.1 DOWNGRADE IdeaLMS 2022 allows reflected Cross Site Scripting (XSS) via the IdeaLMS/Class/Assessment/ PATH_INFO.