Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed admin/login.php
-
DeliveryCraft SQLi bypass payload in Username field
-
ExploitSubmit unauthenticated POST request
-
ExecutionSQL query evaluates true
-
ImpactGain 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.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
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Online Book Store System
View allLocal File Inclusion (LFI) in SourceCodester Online Book Store System 1.0 allows authenticated remote attackers to read
Unrestricted file upload in SourceCodester Online Book Store System 1.0 allows authenticated remote attackers with admin
Stored cross-site scripting (XSS) in SourceCodester Online Book Store System 1.0 allows a high-privileged authenticated
EUVD-2026-43282
GHSA-6hff-5fjr-6943
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB