Vulnerability Details : 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.
Products affected by CVE-2021-42669
- cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-42669
0.60%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 79 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42669
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
10.0
|
HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
10.0
|
10.0
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-42669
-
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-42669
-
https://github.com/TheHackingRabbi/CVE-2021-42669
GitHub - TheHackingRabbi/CVE-2021-42669: CVE-2021-42669 - Remote code execution via unrestricted file upload vulnerability in the Engineers online portal system.Exploit;Third Party Advisory
-
https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42671
CVE-mitre/CVE-2021-42671 at main · nu11secur1ty/CVE-mitre · GitHubExploit;Third Party Advisory
-
https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html
Engineers Online Portal in PHP with Free Source Code | Free Source Code, Projects & TutorialsProduct;Third Party Advisory
Jump to