{"api_version":"1","generated_at":"2026-07-24T17:32:05+00:00","cve":"CVE-2021-42669","urls":{"html":"https://cve.report/CVE-2021-42669","api":"https://cve.report/api/cve/CVE-2021-42669.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42669","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42669"},"summary":{"title":"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 \"<?php system($_GET[\"cmd\"]); ?>\" the attacker can execute commands on the web server with - /admin/uploads/php-webshell?cmd=id.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-11-05 13:15:00","updated_at":"2021-11-29 17:13:00"},"problem_types":["CWE-434"],"metrics":[],"references":[{"url":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671","name":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671","refsource":"MISC","tags":[],"title":"CVE-mitre/CVE-2021-42671 at main · nu11secur1ty/CVE-mitre · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/TheHackingRabbi/CVE-2021-42669","name":"https://github.com/TheHackingRabbi/CVE-2021-42669","refsource":"MISC","tags":[],"title":"GitHub - TheHackingRabbi/CVE-2021-42669: CVE-2021-42669 - Remote code execution via unrestricted file upload vulnerability in the Engineers online portal system.","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html","name":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html","refsource":"MISC","tags":[],"title":"Engineers Online Portal in PHP | Free Source Code & Tutorials","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42669","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42669","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"42669","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"engineers_online_portal_project","cpe5":"engineers_online_portal","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-42669","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html","refsource":"MISC","name":"https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html"},{"refsource":"MISC","name":"https://github.com/TheHackingRabbi/CVE-2021-42669","url":"https://github.com/TheHackingRabbi/CVE-2021-42669"},{"refsource":"MISC","name":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671","url":"https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671"}]}},"nvd":{"publishedDate":"2021-11-05 13:15:00","lastModifiedDate":"2021-11-29 17:13:00","problem_types":["CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"42669","Ordinal":"219162","Title":"CVE-2021-42669","CVE":"CVE-2021-42669","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"42669","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"42669","Ordinal":"2","NoteData":"2021-11-05","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"42669","Ordinal":"3","NoteData":"2021-11-05","Type":"Other","Title":"Modified"}]}}}