CVE-2021-42669
HIGH 10.0EPSS 23.3%
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 v3.1
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0
- 10.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C - EPSS
- 23.27% chance of exploitation in the next 30 days, 98th percentile
- Published
- 2021-11-05
- Updated
- 2024-08-04
Proof-of-concept exploits (3)
- TheHackingRabbi/CVE-2021-426692★ · 2022-07-12
- nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671
- 0xDeku/CVE-2021-426692★ · 2022-07-12