Skip to main content

Online Book Store System CVE-2026-15537

| EUVDEUVD-2026-43282 MEDIUM
SQL Injection (CWE-89)
2026-07-13 VulDB GHSA-6hff-5fjr-6943
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Identify internet-exposed admin/login.php
  2. Delivery
    Craft SQLi bypass payload in Username field
  3. Exploit
    Submit unauthenticated POST request
  4. Execution
    SQL query evaluates true
  5. Impact
    Gain full admin panel access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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

Exploitation Conditions

The admin/login.php endpoint must be network-reachable by the attacker - typically meaning the application is internet-facing or accessible on a shared network. No authentication is required; the vulnerability exists precisely in the pre-authentication login flow. No special configuration or feature enablement is required beyond a default deployment of the application. The limiting factor is deployment prevalence: SourceCodester Online Book Store System is an educational PHP script with limited production use, so the number of exposed, production-grade instances is likely small. The CVSS 4.0 vector (PR:N/UI:N/AC:L/AT:N) independently confirms zero prerequisite conditions for exploitation.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms that exploitation requires no authentication, no special attack conditions, and no user interaction from a remote network position - the highest-risk access profile. However, the impact metrics (VC:L/VI:L/VA:L) are rated Low across the board, which conflicts with the publicly available PoC's demonstrated ability to achieve full authentication bypass into the admin panel. Authentication bypass in an admin interface typically implies High confidentiality and integrity impact, suggesting the provided CVSS impact ratings may be conservative or scoped narrowly to the SQLi data leak rather than the authentication bypass consequence. The E:P modifier confirms publicly available exploit code exists, directly elevating exploitability. EPSS data is not provided, and CISA KEV status is absent, meaning active exploitation in the wild is not confirmed. SourceCodester products are primarily educational PHP scripts with limited production footprint, which tempers aggregate exposure risk despite the trivial exploitation path.

Exploit ScenarioDerived

An attacker identifies an internet-exposed SourceCodester Online Book Store System instance via a search engine or targeted scan, navigates directly to admin/login.php, and submits a standard SQL injection authentication bypass payload (e.g., ' OR 1=1-- -) in the Username field. Because no parameterization exists, the injected payload causes the backend SQL query to evaluate as true, granting full admin panel access without valid credentials. A public proof-of-concept documenting this exact technique is available on Medium, reducing the required attacker skill to near-zero.

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 – Jul 13, 2026

SQL injection in SourceCodester Online Book Store System 1.0 exposes the admin authentication panel to remote, unauthenticated exploitation via the Username parameter in admin/login.php. A publicly available proof-of-concept - explicitly titled 'SQL Injection Leading to Authentication Bypass' - demonstrates that an attacker can bypass admin login entirely without valid credentials. No active exploitation is confirmed by CISA KEV, but the combination of a publicly released exploit and a trivially low attack complexity significantly elevates real-world risk above what the base CVSS 4.0 score of 6.9 suggests.

RemediationAI

No vendor-released patch has been identified at the time of analysis for SourceCodester Online Book Store System. SourceCodester does not typically issue formal security advisories. Developers who have deployed this application should immediately replace dynamic SQL string concatenation in admin/login.php with parameterized queries or prepared statements using PHP's PDO or MySQLi extensions, which eliminates the injection surface entirely. As an interim measure, deploying a web application firewall (WAF) rule set targeting common SQL injection payloads can reduce exposure, though WAF bypass is possible for determined attackers and is not a substitute for code remediation. Restricting administrative panel access (admin/login.php) to trusted IP ranges via server or network ACLs significantly reduces the attack surface by removing unauthenticated internet-facing exposure. If the application is deployed in a production context, consider replacing it entirely with a maintained alternative, as SourceCodester code is intended for educational use and is not supported with security patches.

Affected VersionsENISA

Online Book Store System 1.0

Affected Packages

euvd online_book_store_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 classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The affected component is admin/login.php in SourceCodester Online Book Store System 1.0, a PHP-based web application distributed as free educational source code. The Username parameter passed via an HTTP POST or GET request is concatenated directly into a SQL query without parameterization or sanitization, allowing an attacker to inject arbitrary SQL. The CPE string cpe:2.3:a:sourcecodester:online_book_store_system:*:*:*:*:*:*:*:* uses a wildcard version field, indicating all released versions are considered affected. Classic payloads such as ' OR '1'='1 inserted into the Username field cause the authentication query to return true unconditionally, bypassing credential checks entirely.

Know when Online Book Store 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.4 CRITICAL

Authentication bypass grants full admin access, warranting C:H and I:H; AV:N and PR:N confirmed by login-page pre-auth attack path.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/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

1
CVSS changed
Jul 13, 2026 - 07:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
free educational PHP script, minimal production deployments
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

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

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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