{"id":"CVE-2021-42669","aliases":["CVE-2021-42669"],"related":[],"kind":"vulnerability","state":"published","title":"A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via dashboardteacher.php, which allows changing the ava…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se presenta una vulnerabilidad de carga de archivos en Sourcecodester Engineers Online Portal en PHP por medio del archivo dashboard_teacher.php, que permite cambiar el avatar mediante el archivo teacher_avatar.php. Una vez que se sube un avatar se sube al directorio /admin/uploads/, y es accesible por todos los usuarios. Subiendo una webshell php que contenga \"\" el atacante puede ejecutar comandos en el servidor web con - /admin/uploads/php-webshell?cmd=id","source":"nvd"}],"published":"2021-11-05T12:36:43.000Z","modified":"2026-06-17T04:09:56.570Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","score":10,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[],"vendor":"engineers_online_portal_project","product":"engineers_online_portal","cpe":"cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html","tags":["product","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/TheHackingRabbi/CVE-2021-42669","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-42669","url":"https://www.cve.org/CVERecord?id=CVE-2021-42669","licence":"CVE Terms of Use","modified":"2024-08-04T03:38:49.315Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42669","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42669","licence":"Public domain","modified":"2026-06-17T04:09:56.570Z"}],"updatedAt":"2026-11-25T22:58:05.374Z","epss":{"score":0.2327,"percentile":0.97821,"date":"2026-12-01T12:00:22.000Z"}}