CVE-2021-42669
Last modified
CVE-2021-42669 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 23.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Engineers Online Portal Project | Engineers Online Portal | All versions |
References
- https://github.com/TheHackingRabbi/CVE-2021-42669Exploit, Third Party Advisory
- https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671Exploit, Third Party Advisory
- https://www.sourcecodester.com/php/13115/engineers-online-portal-php.htmlProduct, Third Party Advisory
- https://github.com/TheHackingRabbi/CVE-2021-42669Exploit, Third Party Advisory
- https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671Exploit, Third Party Advisory
- https://www.sourcecodester.com/php/13115/engineers-online-portal-php.htmlProduct, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-42669?
How severe is CVE-2021-42669?
How do I fix CVE-2021-42669?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-42663An HTML injection vulnerability exists in Sourcecodester Onl…4.3
- CVE-2021-42664A Stored Cross Site Scripting (XSS) Vulneraibiilty exists in…5.4
- CVE-2021-42665An SQL Injection vulnerability exists in Sourcecodester Engi…9.8
- CVE-2021-42666A SQL Injection vulnerability exists in Sourcecodester Engin…8.8
- CVE-2021-42667A SQL Injection vulnerability exists in Sourcecodester Onlin…9.8
- CVE-2021-42668A SQL Injection vulnerability exists in Sourcecodester Engin…9.8
- CVE-2021-4267A vulnerability classified as problematic was found in tad_d…6.1
- CVE-2021-42670A SQL injection vulnerability exists in Sourcecodester Engin…9.8
- CVE-2021-42671An incorrect access control vulnerability exists in Sourceco…7.5
- CVE-2021-42675Kreado Kreasfero 1.5 does not properly sanitize uploaded fil…9.8
- CVE-2021-4268A vulnerability, which was classified as problematic, was fo…8.8
- CVE-2021-42681A Buffer Overflow vulnerability exists in Accops HyWorks DVM…8.8
Are you affected by CVE-2021-42669?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
