Description
A security flaw has been discovered in SourceCodester Online Book Store System 1.0. This vulnerability affects unknown code of the file admin/login.php. The manipulation of the argument Username results in sql injection. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
Published: 2026-07-13
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability is a classic SQL injection flaw located in the Username parameter of admin/login.php. By inserting malicious SQL into that field, an attacker can alter the query that validates credentials, enabling unauthorized bypass of the admin login and full administrative control. The weakness is categorized as CWE‑89 (SQL Injection) and CWE‑74 (Path Manipulation). The resulting compromise allows an attacker to read, modify, or delete sensitive data, alter configuration, or disrupt service availability. The flaw can be triggered remotely by sending a crafted HTTP request to the vulnerable entry point. No specialized network conditions or privileged access are required; the attack can be executed over the public internet if the admin interface is exposed. Although the public exploit scripts have been released, the EPSS score of less than 1% indicates that current targeted attacks are uncommon, yet the risk remains moderate because the flaw grants full administrative rights once exploited. The vulnerability is not listed in the CISA KEV catalog, but the existence of publicly available exploitation code increases the likelihood of opportunistic attacks.

Affected Systems

SourceCodester Online Book Store System version 1.0 is affected. The repository identifies the flaw in the admin login functionality; no other versions or components have been confirmed vulnerable.

Risk and Exploitability

The CVSS score of 6.9 reflects moderate severity with remote authentication bypass. Because the exploit is publicly available, any system exposing the admin interface can be targeted. The low EPSS score suggests the likelihood of attack is currently low, yet the impact of successful exploitation is high. The vulnerability is not in the CISA KEV catalog, meaning it has not yet been observed in known exploit campaigns. Attackers can reach the vulnerable point via standard HTTP requests, submit a malicious Username string, and immediately achieve administrative access.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑issued patch or newer release that fixes the SQL injection in the login logic.
  • If a patch is unavailable, refactor the login routine to use prepared statements or parameterized queries, ensuring the Username input is properly sanitized.
  • Restrict remote access to the admin interface through firewall rules or IP whitelisting to reduce the attack surface.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description A security flaw has been discovered in SourceCodester Online Book Store System 1.0. This vulnerability affects unknown code of the file admin/login.php. The manipulation of the argument Username results in sql injection. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
Title SourceCodester Online Book Store System login.php sql injection
First Time appeared Sourcecodester
Sourcecodester online Book Store System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:online_book_store_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester online Book Store System
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Sourcecodester Online Book Store System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-13T18:11:53.767Z

Reserved: 2026-07-12T18:00:30.574Z

Link: CVE-2026-15537

cve-icon Vulnrichment

Updated: 2026-07-13T18:07:21.457Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:00:04Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')