{"id":"CVE-2021-42669","sourceIdentifier":"cve@mitre.org","published":"2021-11-05T13:15:09.213","lastModified":"2026-06-17T04:09:56.570","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-434"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:*","matchCriteriaId":"A0BC67C5-58BA-4810-8E5C-2DA4382C59D3"}]}]}],"references":[{"url":"https://github.com/TheHackingRabbi/CVE-2021-42669","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html","source":"cve@mitre.org","tags":["Product","Third Party Advisory"]},{"url":"https://github.com/TheHackingRabbi/CVE-2021-42669","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product","Third Party Advisory"]}]}