# CVE-2022-2489: SourceCodester Simple E-Learning System classRoom.php sql injection

- Severity: Medium 6.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-07-20T11:35:38.000Z
- Modified: 2026-06-17T04:41:59.523Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- SourceCodester Simple E-Learning System: 1.0
- simple_e-learning_system_project simple_e-learning_system: 1.0

## Every score

- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xiahao90/CVEproject/blob/main/xiahao.webray.com.cn/Simple-E-Learning-System.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.204551> (permissions-required, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2489](https://www.cve.org/CVERecord?id=CVE-2022-2489), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-2489](https://nvd.nist.gov/vuln/detail/CVE-2022-2489), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2489 · Whole record: https://cve.day/CVE-2022-2489.json · Rebuilt by cve.day 2026-11-25T22:58:13.095Z
