CVE-2021-42669

Published Nov 5, 2021 CVSS 3.1 · 9.8 Critical EPSS 23.3% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History

No history.

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 3:38 AM
Reserved
Oct 18, 2021, 12:00 AM
Status
Modified
Published
Nov 5, 2021, 1:15 PM
Modified
Jun 17, 2026, 4:09 AM