CVE-2021-42669

published 5 Nov 2021 · updated 4 Aug 2024

A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via dashboard_teacher.php, which allows changing the…

5.5MediumEPSS 23%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 23%. No fixed version is recorded.

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.

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-42669 severity on Zeptric[![CVE-2021-42669](https://zeptric.io/badge/cve/CVE-2021-42669.svg)](https://zeptric.io/cve/CVE-2021-42669)