SecurityContext

CVE-2022-2489: SourceCodester Simple E-Learning System - SQL Injection

  • Cve: CVE-2022-2489
  • Name: SourceCodester Simple E-Learning System - SQL Injection
  • 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.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data leakage, data tampering, or full database compromise.
  • Remediation: Apply input validation and parameterized queries; update to the latest version if available.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00776
  • Epss percentile: 0.56737
  • Assignee: [email protected]
  • Published at: 2022-07-20T12:15:08Z
  • Age in days: 1588
  • Modified at: 2026-06-17T04:41:59Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-2489
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://github.com/xiahao90/CVEproject/blob/main/xiahao.webray.com.cn/Simple-E-Learning-System.mdnvd2022-07-20

References

UrlSourceTags
https://github.com/xiahao90/CVEproject/blob/main/xiahao.webray.com.cn/Simple-E-Learning-System.mdnvdExploit, Third Party Advisory
https://vuldb.com/?id.204551nvdPermissions Required, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
simple_e-learning_system_project:simple_e-learning_system= 1.0nonvd/v1/products/simple_e-learning_system_project/simple_e-learning_system

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-07-20
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts