Arbitrary file upload in Engineers Online Portal Project
CVE-2021-42669
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.233 (97.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.233 · newest: 0.233 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.sourcecodester.com/php/13115/engineers-online-portal-php.html (Product, Third Party Advisory)
- github.com/TheHackingRabbi/CVE-2021-42669 (Exploit, Third Party Advisory)
- github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-42669?
- CVE-2021-42669 is a critical-severity vulnerability in Engineers Online Portal Project, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2021-11-05.
- How severe is CVE-2021-42669?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-42669 known to be exploited?
- 13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.