CVE-2025-7413
Published: 10 July 2025
Summary
CVE-2025-7413 is a low-severity Improper Access Control (CWE-284) vulnerability in Code-Projects Library System. Its CVSS base score is 2.1 (Low).
Operationally, exploitation aligns with the MITRE ATT&CK technique Web Shell (T1505.003); ranked in the top 48.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 AC-3 (Access Enforcement) and SI-10 (Information Input Validation).
Deeper analysis
CVE-2025-7413 is a critical vulnerability in code-projects Library System 1.0 that enables unrestricted file upload. The issue resides in an unknown part of the file /user/teacher/profile.php, where manipulation of the image argument allows attackers to upload files without restrictions. Classified under CWE-284 (Improper Access Control) and CWE-434 (Unrestricted Upload of File with Dangerous Type), it carries a CVSS v3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) and was published on 2025-07-10.
An authenticated remote attacker with low privileges (PR:L) can exploit this vulnerability without user interaction. By manipulating the image argument in requests to /user/teacher/profile.php, they can upload arbitrary files, potentially including dangerous types, leading to low impacts on confidentiality, integrity, and availability.
Advisories reference the vendor site at code-projects.org and a GitHub issue at github.com/rom4j/cve/issues/16, along with VulDB entries detailing the issue (vuldb.com/?ctiid.315873, vuldb.com/?id.315873, vuldb.com/?submit.608533). The exploit has been publicly disclosed, increasing the risk of active exploitation. No specific patches or mitigations are detailed in the available information.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-21054
Vulnerability details
A vulnerability classified as critical has been found in code-projects Library System 1.0. This affects an unknown part of the file /user/teacher/profile.php. The manipulation of the argument image leads to unrestricted upload. It is possible to initiate the attack remotely.…
more
The exploit has been disclosed to the public and may be used.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability enables unrestricted upload of malicious PHP files (e.g., webshells) to a web-accessible directory via a public-facing web application endpoint (/user/teacher/profile.php), facilitating web shell deployment (T1100) and exploitation of public-facing applications (T1190).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation of all input (including file uploads via the image argument) to reject dangerous or unexpected content before acceptance.
Enforces access-control decisions on the /user/teacher/profile.php endpoint so that only permitted file types and operations are allowed for the supplied image argument.
Requires integrity verification of uploaded files, enabling detection of unauthorized or malicious content placed via the unrestricted-upload flaw.