Description
A security flaw has been discovered in SourceCodester Onlne Examination & Learning Management System 1.0. Affected by this vulnerability is the function pathinfo of the file /upload_files.php of the component Filename Extension. Performing a manipulation results in unrestricted upload. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks. The name of the affected product appears to have a typo in it.
Published: 2026-07-05
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in SourceCodester’s Onlne Examination & Learning Management System 1.0 allows an attacker to upload files with arbitrary names and extensions because the upload_files.php component calls PHP’s pathinfo() function without sanitizing the result. The uncontrolled filename can be manipulated to store malicious code in a location that the web application may later serve or execute, enabling remote code execution or data exfiltration. The weakness maps to CWE‑434 (Unvalidated File Type) and CWE‑284 (Improper Access Control). Based on the description, it is inferred that authentication is not required to trigger the upload endpoint, meaning that any internet‑reachable user can abuse the flaw.

Affected Systems

SourceCodester Onlne Examination & Learning Management System version 1.0 is the only publicly documented release containing the flaw. The vulnerability resides specifically in the upload_files.php file, where the pathinfo() result is used without sanitization. Only deployments running this exact version and without subsequent patches are affected.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of < 1 % suggests a low probability of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a simple crafted HTTP request to the publicly exposed upload endpoint, where an attacker supplies an arbitrary file name and type. The lack of validation allows the attacker to upload files that may be executed by the web server if the upload directory lacks proper execution restrictions.

Generated by OpenCVE AI on July 23, 2026 at 15:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Check with SourceCodester for an official update or patch that sanitizes the pathinfo() result in upload_files.php; install the fixed version as soon as it becomes available.
  • If a patch is not yet available, add server‑side validation to enforce a whitelist of allowed file extensions and sanitize the file name to strip any directory separators or path components before storing the file.
  • Configure the web server or application to prevent execution of files in the upload directory; for example, place the uploads outside the web root or use .htaccess directives or server settings to deny PHP execution or CGI handling for that folder.

Generated by OpenCVE AI on July 23, 2026 at 15:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 05 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
Description A security flaw has been discovered in SourceCodester Onlne Examination & Learning Management System 1.0. Affected by this vulnerability is the function pathinfo of the file /upload_files.php of the component Filename Extension. Performing a manipulation results in unrestricted upload. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks. The name of the affected product appears to have a typo in it.
Title SourceCodester Onlne Examination & Learning Management System Filename Extension upload_files.php pathinfo unrestricted upload
First Time appeared Sourcecodester
Sourcecodester onlne Examination Learning Management System
Weaknesses CWE-284
CWE-434
CPEs cpe:2.3:a:sourcecodester:onlne_examination_learning_management_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester onlne Examination Learning Management System
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Sourcecodester Onlne Examination Learning Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-06T16:49:27.412Z

Reserved: 2026-07-05T04:08:15.541Z

Link: CVE-2026-14776

cve-icon Vulnrichment

Updated: 2026-07-06T16:35:57.907Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-23T15:45:02Z

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-434

    Unrestricted Upload of File with Dangerous Type