CRITICAL

CVE-2021-42669

CVSS v3

9.8

CRITICAL

EPSS Score

44.2%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

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.

Technical details

Published
11/5/2021

Frequently asked questions

What is 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.

Is CVE-2021-42669 actively exploited?

Active exploitation of CVE-2021-42669 has not been confirmed. The EPSS score is 44.2%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-42669?

CVE-2021-42669 has a CVSS v3 base score of 9.8 (CRITICAL severity).

Is CVE-2021-42669 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.