SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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.

CRITICAL 9.8EPSS 23.3%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 23.3%, higher than 98% of all known CVEs. Patch or mitigate before the next change window.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
23.27% probability · 98th percentile
CISA KEV
Not listed
Weakness
CWE-434
Affected
engineers online portal project/engineers online portal
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.