Skip to main content

SourceCodester LMS CVE-2026-108975

| EUVDEUVD-2026-98315 MEDIUM
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-10-13 VulDB GHSA-jmv6-82m4-3wp6
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach admin/add_admin.php endpoint
  2. Delivery
    Submit malicious PHP as image parameter
  3. Exploit
    move_uploaded_file stores webshell
  4. Execution
    Request uploaded file to execute
  5. Impact
    Arbitrary code execution on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires network reachability to the admin/add_admin.php endpoint of SourceCodester Library Management System 1.0 and the ability to submit the 'image' upload parameter, which move_uploaded_file writes to disk without file-type/extension validation; successful RCE additionally requires that the upload destination be web-accessible and that the server execute PHP from it. The CVSS vector asserts PR:N (unauthenticated) and the public exploit is titled 'pre-auth RCE', but the endpoint resides under an 'admin/' path - if the deployment enforces authentication or access control on the admin directory, exploitation would be limited to authenticated/admin users; this authentication requirement is not confirmed from the available data and should be verified against the actual installation.

Impact

Signals conflict and must be weighed carefully. The vendor (VulDB) CVSS 4.0 vector scores this 5.5 (medium) with AV:N/AC:L/PR:N/UI:N and only Low impacts across VC/VI/VA, and E:P (proof-of-concept exploit maturity). However, the vulnerability class - CWE-434 unrestricted file upload via move_uploaded_file in a PHP application - typically yields webshell deployment and full remote code execution, which is inconsistent with the all-Low impact rating; the public exploit reference is explicitly titled 'lms-preauth-rce' (pre-authentication RCE), strongly implying High integrity/availability/confidentiality impact rather than Low. This under-scoring of impact should be treated with suspicion and verified. KEV status is NO and no EPSS score is provided, so there is no evidence of widespread or automated real-world exploitation; a public exploit exists (POC=YES) but POC availability is not the same as active exploitation. The affected product, SourceCodester Library Management System 1.0, is a small hobby/educational PHP application with negligible production footprint, which substantially lowers real-world priority despite the dangerous vulnerability class. Net: this is a genuinely dangerous bug class with a public exploit, but low real-world prevalence and no KEV/EPSS corroboration make it a low-to-moderate operational priority for most defenders - except anyone actually running this specific application exposed to a network.

Exploit ScenarioDerived

A remote attacker reaches the admin/add_admin.php endpoint and submits the 'image' parameter with a malicious PHP file instead of a legitimate image, which move_uploaded_file stores in a web-accessible directory without validation. The attacker then requests the uploaded file to execute arbitrary PHP code (a webshell) on the server. Public exploit code is available and is described by its publisher as achieving pre-authentication remote code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 13, 2026

Unrestricted file upload in SourceCodester Library Management System 1.0 allows remote attackers to upload arbitrary files via the 'image' parameter to admin/add_admin.php, which uses move_uploaded_file without validating file type or extension, potentially leading to remote code execution if the uploaded file is web-accessible and the server executes PHP. Publicly available exploit code exists (though not confirmed as actively exploited in the wild), and the CVSS vector asserts unauthenticated access (PR:N), but the endpoint resides under an admin/ path, so exploitation may be limited to authenticated administrators in deployments that enforce access controls on that directory. Risk signals conflict and must be weighed carefully.

RemediationAI

No vendor-released patch identified at time of analysis; the vendor site does not list a fix. Actionable compensating controls include: restricting access to admin/add_admin.php and the admin directory to trusted IP addresses or authenticated administrators, while noting this may break legitimate administrative functionality; configuring the web server to prevent execution of PHP files in upload directories, for example by setting php_admin_flag engine off in the upload directory or using an .htaccess directive such as php_flag engine off, though this requires correct server configuration and may not cover all execution contexts; and validating file uploads by checking extension, MIME type, and content before move_uploaded_file is called, with the trade-off that faulty validation may still be bypassed. A web application firewall rule to block requests uploading .php files to the vulnerable endpoint can provide temporary mitigation, but it can be bypassed with alternative extensions or content-type manipulation. Monitor the VulDB entry https://vuldb.com/vuln/416794 for updates.

Affected VersionsENISA

Library Management System 1.0

Affected Packages

euvd library_management_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is CWE-434 (Unrestricted Upload of File with Dangerous Type), occurring in the PHP-based SourceCodester Library Management System 1.0, specifically in the admin/add_admin.php script where the move_uploaded_file function processes the 'image' argument without validating the uploaded file's extension, MIME type, or content. The CPE string cpe:2.3:a:sourcecodester:library_management_system:*:*:*:*:*:*:*:* indicates the product is affected across versions, but the advisory targets version 1.0. Because the application is written in PHP, an attacker who can upload a .php file to a web-accessible directory can execute arbitrary code under the web server's privileges, achieving remote code execution. The public exploit is titled 'pre-auth RCE', but the admin/ path suggests deployment-specific access controls may apply, and the independent assessment notes that authentication requirements are not confirmed from available data.

Know when Library Management System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 9.8 CRITICAL

Unrestricted upload to a web-executable path yields webshell RCE (C/I/A:H); PR:N per vendor vector and the exploit's pre-auth claim, though admin-path access control could raise PR to L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 13, 2026 - 07:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Oct 13, 2026 - 06:45 cve.org
MEDIUM 5.5

DescriptionCVE.org

A security flaw has been discovered in SourceCodester Library Management System 1.0. This vulnerability affects the function move_uploaded_file of the file admin/add_admin.php. Performing a manipulation of the argument image results in unrestricted upload. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
SourceCodester hobby/educational PHP app, negligible production footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2023-7111 CRITICAL POC
9.8 Dec 26

A vulnerability, which was classified as critical, was found in code-projects Library Management System 2.0. Rated criti

CVE-2022-37794 CRITICAL POC
9.8 Sep 12

In Library Management System 1.0 the /card/in-card.php file id_no parameters are vulnerable to SQL injection. Rated crit

CVE-2022-36735 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the bookId parameter at /admi

CVE-2022-36734 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the RollNo parameter at /admi

CVE-2022-36733 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the M_Id parameter at /admin/

CVE-2022-36732 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /libraria

CVE-2022-36731 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the RollNo parameter at /libr

CVE-2022-36730 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the bookId parameter at /libr

CVE-2022-36714 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Section parameter at /sta

CVE-2022-36713 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Section parameter at /lib

CVE-2022-36712 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /staff/st

CVE-2022-36711 CRITICAL POC
9.8 Aug 30

Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /staff/bo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy