Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach admin/add_admin.php endpoint
-
DeliverySubmit malicious PHP as image parameter
-
Exploitmove_uploaded_file stores webshell
-
ExecutionRequest uploaded file to execute
-
ImpactArbitrary 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
More in Library Management System
View allA vulnerability, which was classified as critical, was found in code-projects Library Management System 2.0. Rated criti
In Library Management System 1.0 the /card/in-card.php file id_no parameters are vulnerable to SQL injection. Rated crit
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the bookId parameter at /admi
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the RollNo parameter at /admi
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the M_Id parameter at /admin/
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /libraria
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the RollNo parameter at /libr
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the bookId parameter at /libr
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Section parameter at /sta
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the Section parameter at /lib
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /staff/st
Library Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /staff/bo
EUVD-2026-98315
GHSA-jmv6-82m4-3wp6
NVD
CVE.org
EPSS
VulDB
Exploit-DB