{"id":"CVE-2021-42669","aliases":["EUVD-2021-29630","GHSA-h6f4-pv83-7533"],"status":"published","title":"A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via...","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 \"\u003c?php system($_GET[\"cmd\"]); ?\u003e\" the attacker can execute commands on the web server with - /admin/uploads/php-webshell?cmd=id.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.2327,"percentile":0.97805,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-434"],"published":"2021-11-05T12:36:43Z","modified":"2026-06-17T04:09:56Z","exploits":[{"source":"pocgithub","id":"0xDeku/CVE-2021-42669","title":"0xDeku/CVE-2021-42669","date":"2021-11-03","url":"https://github.com/0xDeku/CVE-2021-42669"}],"products":[{"vendor":"engineers_online_portal_project","product":"engineers_online_portal"}],"references":[{"url":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory"]},{"url":"https://github.com/TheHackingRabbi/CVE-2021-42669","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42669"},{"url":"https://github.com/advisories/GHSA-h6f4-pv83-7533"}],"sources":{"cve":[{"id":"CVE-2021-42669","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 \"\u003c?php system($_GET[\"cmd\"]); ?\u003e\" the attacker can execute commands on the web server with - /admin/uploads/php-webshell?cmd=id.","status":"published","published":"2021-11-05T12:36:43Z","modified":"2024-08-04T03:38:49.315Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29630","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 \"\u003c?php system($_GET[\"cmd\"]); ?\u003e\" the attacker can execute commands on the web server with - /admin/uploads/php-webshell?cmd=id.","status":"published","published":"2021-11-05T12:36:43Z","modified":"2024-08-04T03:38:49Z","updated_at":"2026-11-03T03:24:15.755984Z"}],"ghsa":[{"id":"GHSA-h6f4-pv83-7533","title":"A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via...","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 \"\u003c?php system($_GET[\"cmd\"]); ?\u003e\" the attacker can execute commands on the web server with - /admin/uploads/php-webshell?cmd=id.","status":"published","published":"2022-05-24T19:19:50Z","modified":"2023-01-30T05:03:34Z","cwes":["CWE-434"],"updated_at":"2026-11-02T14:46:51.868413Z"}],"nvd":[{"id":"CVE-2021-42669","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 \"\u003c?php system($_GET[\"cmd\"]); ?\u003e\" the attacker can execute commands on the web server with - /admin/uploads/php-webshell?cmd=id.","status":"published","published":"2021-11-05T13:15:09.213Z","modified":"2026-06-17T04:09:56.57Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:00.984108Z"}]}}
