Vulnerability record · CVE-2021-42669 · published 5 November 2021
CVE-2021-42669: Engineers online portal project engineers online portal unrestricted file upload vulnerability
EEngineers Online Portal Project · Engineers Online Portal
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/TheHackingRabbi/CVE-2021-42669 | ExploitThird Party Advisory |
| https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671 | ExploitThird Party Advisory |
| https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html | ProductThird Party Advisory |
| https://github.com/TheHackingRabbi/CVE-2021-42669 | ExploitThird Party Advisory |
| https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671 | ExploitThird Party Advisory |
| https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html | ProductThird Party Advisory |
Track CVE-2021-42669 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-42669), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.