CVE-2021-42669: Malicious File Upload

Published Nov 5, 2021
·
Updated

A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via dashboardteacher.php, which allows changing the avatar through teacheravatar.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.

Affected Software

1 affected component
Engineers Online Portal Project Engineers Online Portal

Event History

Nov 5, 2021
CVE Published
via MITRE·12:36 PM
Data Sourced
via MITRE·12:36 PM
Description
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-42669?

CVE-2021-42669 is a file upload vulnerability that exists in the Sourcecodester Engineers Online Portal in PHP.

2

How does CVE-2021-42669 work?

CVE-2021-42669 allows an attacker to change the avatar through teacher_avatar.php, which results in the uploaded file being accessible by all users.

3

What is the severity of CVE-2021-42669?

CVE-2021-42669 has a severity rating of 9.8, which is classified as critical.

4

What software is affected by CVE-2021-42669?

Engineers Online Portal Project Engineers Online Portal version is affected by CVE-2021-42669.

5

How can I fix CVE-2021-42669?

To fix CVE-2021-42669, you should update the Sourcecodester Engineers Online Portal to a patched version provided by the vendor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203