CVE-2021-42669

CRITICAL

Engineers Online Portal - Unrestricted File Upload

Title source: rule

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.

Exploits (2)

nomisec WORKING POC 2 stars
by 0xDeku · poc
https://github.com/0xDeku/CVE-2021-42669
inthewild WORKING POC
poc
https://github.com/thehackingrabbi/cve-2021-42669

Scores

CVSS v3 9.8
EPSS 0.4422
EPSS Percentile 97.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-434
Status published
Products (1)
engineers_online_portal_project/engineers_online_portal
Published Nov 05, 2021
Tracked Since Feb 18, 2026