### [CVE-2021-42580](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42580) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen) ### Description 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. ### POC #### Reference - http://packetstormsecurity.com/files/164985/Online-Learning-System-2.0-Remote-Code-Execution.html - https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/CVE-nu11-07 #### Github - https://github.com/2lambda123/CVE-mitre - https://github.com/2lambda123/Windows10Exploits - https://github.com/ARPSyndicate/cvemon - https://github.com/Offensive-Penetration-Security/OPSEC-Hall-of-fame - https://github.com/nu11secur1ty/CVE-mitre - https://github.com/nu11secur1ty/CVE-nu11secur1ty - https://github.com/nu11secur1ty/Windows10Exploits