A file upload vulnerability exists in Sourcecodester Engineers Online Portal in PHP via…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-434.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Engineers Online Portal Project |
- cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Engineers Online Portal Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-42669
- 2026-10-03 Alias added: GHSA-h6f4-pv83-7533
References
More Engineers Online Portal Project Engineers Online Portal vulnerabilities
- TI-2023-04857 SourceCodester Engineers Online Portal remove_inbox_message.php sql injection CVSS 3.1CRITICAL 9.8
- TI-2023-04855 SourceCodester Engineers Online Portal my_classmates.php sql injection CVSS 3.1CRITICAL 9.8
- TI-2023-04858 SourceCodester Engineers Online Portal seed_message_student.php sql injection CVSS 3.1CRITICAL 9.8
- TI-2023-04854 SourceCodester Engineers Online Portal login.php sql injection CVSS 3.1CRITICAL 9.8
- TI-2023-04853 SourceCodester Engineers Online Portal student_avatar.php unrestricted upload CVSS 3.1CRITICAL 9.8
- TI-2023-04852 SourceCodester Engineers Online Portal downloadable_student.php sql injection CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-42669 · CVE Program
- CVE-2021-42669 · NVD
- FIRST EPSS
- GHSA-h6f4-pv83-7533 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences