Vulnerability Details : CVE-2021-42580
Potential exploit
Sourcecodester Online Learning System 2.0 is vunlerable to sql injection authentication bypass in admin login file (/admin/login.php) and authenticated file upload in (Master.php) file , we can craft these two vunlerablities to get unauthenticated remote command execution.
Vulnerability category: Sql Injection
Products affected by CVE-2021-42580
- cpe:2.3:a:oretnom23:online_learning_system:2.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-42580
1.88%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 82 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42580
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-42580
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-42580
-
https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/CVE-nu11-07
CVE-nu11secur1ty/vendors/oretnom23/CVE-nu11-07 at main · nu11secur1ty/CVE-nu11secur1ty · GitHubExploit;Third Party Advisory
-
http://packetstormsecurity.com/files/164985/Online-Learning-System-2.0-Remote-Code-Execution.html
Online Learning System 2.0 Remote Code Execution ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://www.nu11secur1ty.com/2021/09/cve-nu11-07-elearning-v2by-oretnom23-is.html
CVE-nu11-07-eLearning V2(by: oretnom23) is vulnerable from remote SQL-Injection-Bypass-Authentication in three accountsExploit;Third Party Advisory
-
https://www.nu11secur1ty.com/2021/11/cve-2021-42580.html
CVE-2021-42580Exploit;Third Party Advisory
-
https://github.com/DjebbarAnon/online-learning-system-v2-sqli-authentication-bypass-file-upload-unauthenticated-RCE
GitHub - DjebbarAnon/online-learning-system-v2-sqli-authentication-bypass-file-upload-unauthenticated-RCEExploit;Third Party Advisory
Jump to