Vulnerability Description
A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via dashboard_teacher.php, which allows changing the avatar through teacher_avatar.php. Once an avatar gets uploaded it is getting uploaded to the /admin/uploads/ directory, and is accessible by all users. By uploading a php webshell containing "<?php system($_GET["cmd"]); ?>" the attacker can execute commands on the web server with - /admin/uploads/php-webshell?cmd=id.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Engineers Online Portal Project | Engineers Online Portal | - |
Related Weaknesses (CWE)
References
- https://github.com/TheHackingRabbi/CVE-2021-42669ExploitThird Party Advisory
- https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671ExploitThird Party Advisory
- https://www.sourcecodester.com/php/13115/engineers-online-portal-php.htmlProductThird Party Advisory
- https://github.com/TheHackingRabbi/CVE-2021-42669ExploitThird Party Advisory
- https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671ExploitThird Party Advisory
- https://www.sourcecodester.com/php/13115/engineers-online-portal-php.htmlProductThird Party Advisory
FAQ
What is CVE-2021-42669?
CVE-2021-42669 is a vulnerability with a CVSS score of 9.8 (CRITICAL). A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via dashboard_teacher.php, which allows changing the avatar through teacher_avatar.php. Once an avatar gets uploaded...
How severe is CVE-2021-42669?
CVE-2021-42669 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-42669?
Check the references section above for vendor advisories and patch information. Affected products include: Engineers Online Portal Project Engineers Online Portal.