Vulnerabilities · 2021 · Engineers Online Portal Project
CVE-2021-42669
Engineers Online Portal Project Engineers Online Portal vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Engineers Online Portal. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Engineers Online Portal Project Engineers Online Portal runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Engineers Online Portal Project products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.