Skip to main content

Stock Inventory Management System CVE-2026-71207

| EUVDEUVD-2026-53204 CRITICAL
SQL Injection (CWE-89)
2026-08-05 TuranSec GHSA-8924-6725-h379
9.8
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Reach login.php over network
  2. Delivery
    Submit ' OR '1'='1 or admin/neola
  3. Exploit
    Bypass authentication check
  4. Execution
    Obtain admin session
  5. Impact
    Read/modify inventory data

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

Exploitation requires only network reachability to the application's login.php page; the CVSS vector (AV:N/AC:L/PR:N/UI:N) and description confirm no authentication, no user interaction, and no special configuration are needed against default deployments of the Stock-Inventory-Management-System. Two concrete paths exist: submit a SQL tautology such as ' OR '1'='1 in the login form's username/password fields, or supply the hardcoded credentials admin/neola. The only real limiting factor is exposure - the target instance must be network-accessible to the attacker; because this is a self-hosted hobby PHP app rather than a widely deployed product, the practical constraint is finding a reachable installation, not any technical prerequisite.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) is internally consistent with the description: exploitation is remote, low-complexity, unauthenticated, and yields full admin access to the application and its data. Real-world risk of the flaw itself is high because the payload is trivial and self-documenting, and the hardcoded credential is visible in the public GitHub source. However, aggregate risk is bounded by deployment footprint: this is an individual developer's GitHub project, not enterprise software, so mass exploitation is unlikely. No EPSS score, KEV listing, POC flag, or SSVC decision data was provided in the input, so exploitation-probability signals are absent rather than low - the 9.8 reflects impact/exploitability of a single instance, not prevalence. No conflicts exist between the CVSS vector and the description; both point to unauthenticated remote authentication bypass.

Exploit ScenarioDerived

An attacker discovers an internet-reachable deployment of the application, browses to the login page, and submits a username of ' OR '1'='1 (or simply the hardcoded admin/neola pair). The tautology or static credential satisfies the authentication check, granting an immediate admin session with full read/write control over inventory data - no prior credentials, user interaction, or reconnaissance required.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Authentication bypass in mrswapnilsahu's Stock-Inventory-Management-System (PHP) lets an unauthenticated remote attacker log in as any user by injecting SQL through the login form. The login.php script concatenates raw POST username/password into the auth query (CWE-89) and also ships hardcoded admin credentials (admin/neola), giving two independent full-bypass paths. No public exploit identified at time of analysis, though the trivial ' OR '1'='1 payload is described directly in the disclosure.

RemediationAI

No vendor-released patch identified at time of analysis; the only reference (https://github.com/mrswapnilsahu/Stock-Inventory-Management-System/blob/master/login.php) points to the vulnerable source, not a fixed release. Remediate at the code level: rewrite the login query in login.php to use parameterized/prepared statements (PDO or mysqli with bound parameters) so username/password can never alter query structure, and stop assigning raw $_POST values into $_SESSION. Remove the hardcoded admin/neola credential entirely and replace it with properly hashed credentials stored in the database (password_hash/password_verify). As interim compensating controls if the code cannot be changed immediately: place the application behind a WAF rule blocking SQL meta-characters and tautology patterns on the login endpoint (trade-off: pattern-based rules are bypassable and may break legitimate logins containing quote characters), and restrict network access to the login page via IP allowlisting or VPN (trade-off: reduces convenience and does not fix the hardcoded credential for anyone with reachable access). Given the severity, taking the instance offline until the code is fixed is the safest option.

Affected VersionsENISA

Stock-Inventory-Management-System 0 ≤1.0

Affected Packages

euvd stock_inventory_management_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 affected component is a PHP-based inventory web application backed by a SQL database. In login.php the application assigns unsanitized $_POST['username'] and $_POST['password'] directly into $_SESSION and then builds the authentication SQL statement by string concatenation with no prepared statements, parameter binding, or escaping. This is a textbook CWE-89 SQL Injection: attacker-controlled input crosses into the query's syntactic context, so a tautology such as ' OR '1'='1 forces the WHERE clause to always evaluate true and returns a valid session. Compounding this, a post-login conditional compares against static hardcoded administrative credentials (admin/neola), a CWE-798-style flaw baked into source that any reader of the public repository can see.

Know when PHP 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 (TuranSec) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated remote login bypass via trivial SQLi and hardcoded creds gives full application read/write, so AV:N/AC:L/PR:N/UI:N with high C/I/A.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The Stock-Inventory-Management-System application's login.php assigns raw $_POST username/password values to $_SESSION and builds its authentication query by directly concatenating those session values into a SQL statement with no parameterization or escaping. An unauthenticated remote attacker can submit a payload such as ' OR '1'='1 in the login form to bypass authentication entirely. The same script additionally contains hardcoded administrative credentials (admin/neola) in a post-login conditional check, providing a second, independent full-authentication-bypass path.

Executive ViewAI

Why It Matters

Stock-Inventory-Management-System contains a critical SQL injection vulnerability enabling unauthenticated remote attackers to completely bypass authentication and assume any user identity, including administrative accounts. This creates immediate risk of unauthorized inventory access, system manipulation, and data exposure across all deployed instances. Immediate containment is required to prevent data breach and operational disruption.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: implement Web Application Firewall blocking SQL injection patterns in authentication parameters; restrict network access to trusted IP ranges only; enforce reverse proxy authentication with multi-factor authentication (MFA) in front of the application; deploy real-time database query logging and alerting for anomalous authentication attempts; disable the application if not immediately business-critical pending remediation.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
Rare
individual developer's GitHub project, negligible enterprise footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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