CVE-2026-15540

SourceCodester Online Book Store System Administrative index.php php file inclusion

Published Jul 13, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was detected in SourceCodester Online Book Store System 1.0. The affected element is an unknown function of the file /admin/index.php of the component Administrative Interface. Performing a manipulation of the argument page results in improper control of filename for include/require statement in php program. It is possible to initiate the attack remotely. The exploit is now public and may be used.

Analysis

AI-generated

Technical impact

A remote attacker can manipulate the 'page' query parameter in the /admin/index.php script of the SourceCodester Online Book Store System. The vulnerability arises from improper control of the filename passed to a PHP include/require statement, enabling the attacker to request arbitrary local files. When exploited, this results in source code disclosure and potentially sensitive configuration files becoming accessible. The confidentiality of the system is at risk, and the unauthorized retrieval of credentials or application logic may serve as a stepping stone for further malicious activity. The weakness corresponds to directory traversal and improper inclusion controls, classed as CWE-73 and CWE-98.

Affected Systems

The flaw exists in the SourceCodester Online Book Store System version 1.0, specifically within the administrative interface located at /admin/index.php. No other vendors, products, or versions are listed as affected. Administrators should confirm that their installation matches this version before applying mitigations.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score of < 1% suggests a low probability of exploitation, yet the flaw is publicly documented and can be leveraged remotely via a crafted URL. The vulnerability is not listed in the CISA KEV catalog. Attackers need only supply a malicious 'page' parameter value to trigger the Local File Inclusion, after which sensitive files may be read. The primary risk is to confidentiality; the impact on integrity or availability is limited unless the attacker uses the retrieved information to launch subsequent attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the SourceCodester Online Book Store System to a version that validates the 'page' parameter and restricts include paths.
  • Implement input validation or a whitelist for the 'page' parameter, ensuring only approved filenames can be included.
  • Reconfigure the web server to deny read access to internal source code directories and enforce strict directory permissions.

Generated by OpenCVE AI on August 1, 2026 at 10:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A vulnerability was detected in SourceCodester Online Book Store System 1.0. The affected element is an unknown function of the file /admin/index.php of the component Administrative Interface. Performing a manipulation of the argument page results in improper control of filename for include/require statement in php program. It is possible to initiate the attack remotely. The exploit is now public and may be used.
Title SourceCodester Online Book Store System Administrative index.php php file inclusion
First Time appeared Sourcecodester
Sourcecodester online Book Store System
Weaknesses CWE-73
CWE-98
CPEs cpe:2.3:a:sourcecodester:online_book_store_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester online Book Store System
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/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:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-73

    External Control of File Name or Path

  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 13, 2026, 6:39 PM
Reserved
Jul 12, 2026, 6:07 PM
Status
Deferred
Published
Jul 13, 2026, 8:16 AM
Modified
Oct 24, 2026, 10:10 PM