{"id":"CVE-2021-42580","published":"2021-11-15T15:57:28Z","modified":"2024-08-04T03:38:49Z","title":"Sourcecodester Online Learning System 2.0 is vunlerable to sql injection authentication bypass in admin login file…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.10066,"percentile":0.95704,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/CVE-nu11-07","tags":["x_refsource_MISC"]},{"url":"https://github.com/DjebbarAnon/online-learning-system-v2-sqli-authentication-bypass-file-upload-unauthenticated-RCE","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/164985/Online-Learning-System-2.0-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://www.nu11secur1ty.com/2021/09/cve-nu11-07-elearning-v2by-oretnom23-is.html","tags":["x_refsource_MISC"]},{"url":"https://www.nu11secur1ty.com/2021/11/cve-2021-42580.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.14},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-11-16"},"first":{"date":"2021-11-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50526"},"provenance":"source"},"summary":{"text":"The flaw lives in Sourcecodester Online Learning System 2.0, in the admin login file (/admin/login.php), which is vulnerable to SQL injection that allows authentication bypass. An attacker can chain this with an authenticated file upload weakness in Master.php to achieve unauthenticated remote command execution, with the bypass itself requiring only network access to the login page and no prior credentials.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:54:32Z"},"euvd":{"id":"EUVD-2021-29545","exploited":false,"provenance":"source"},"exploits":[{"id":50526,"url":"https://www.exploit-db.com/exploits/50526","title":"Online Learning System 2.0 - 'username' SQL Injection (SQLi) Authentication Bypass / 'img' Arbitrary File Upload / Remote Code Execution (RCE)","date":"2021-11-16","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/164985/Online-Learning-System-2.0-Remote-Code-Execution.html"]}