CVE-2021-42669
CRITICALEngineers Online Portal - Unrestricted File Upload via Teacher Avatar Change
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2021-42669. PoCs published by 0xDeku.
AI-analyzed exploit summary This PoC exploits an unrestricted file upload vulnerability in the Engineers Online Portal system (CVE-2021-42669) to achieve remote code execution by uploading a PHP webshell. The exploit authenticates with provided credentials and uploads a malicious PHP file to the vulnerable endpoint.
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)
This PoC exploits an unrestricted file upload vulnerability in the Engineers Online Portal system (CVE-2021-42669) to achieve remote code execution by uploading a PHP webshell. The exploit authenticates with provided credentials and uploads a malicious PHP file to the vulnerable endpoint.
The repository contains a functional exploit for CVE-2021-42669, which leverages an unrestricted file upload vulnerability in the Engineers Online Portal system to achieve remote code execution. The exploit authenticates with provided credentials, uploads a PHP webshell, and provides a URL to access the shell.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H