{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-42669","id":"CVE-2021-42669","title":"Sourcecodester Engineers Online Portal in PHP via dashboard_teacher.php, which allows changing the avatar through tea…","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 t","descriptionLong":"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.","published":"2021-11-05T12:36:43.000Z","updated":"2026-06-17T04:09:56.570Z","reserved":"2021-10-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"critical","source":"NVD"},"metrics":[{"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","rating":"critical","source":"NVD"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":["CWE-434"],"aliases":[],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.2327,"epssPercentile":0.97821,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-42669","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42669","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-42669","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-42669","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 23% with CVSS 9.8"],"attention":null}