Description
The Stock-Inventory-Management-System application's login.php assigns raw username/password values to and builds its authentication query by directly concatenating those session values into a SQL statement with no parameterization or escaping. The same script additionally contains hardcoded administrative credentials (admin/neola) in a post-login conditional check, providing a second, independent full-authentication-bypass path.
Published: 2026-08-05
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Based on the description, it is inferred that the attacker can use the login form as the attack vector. The Stock‑Inventory‑Management‑System login.php takes username and password directly from the login form, assigns these raw values to session variables, and then constructs a SQL query by concatenating those session values without any parameterization or escaping. This creates a classic injection point where an attacker can supply an SQL payload through the login form to bypass authentication. In addition, the same script contains hard‑coded administrative credentials (admin/neola) in a post‑login conditional, providing a second, independent full‑authentication‑bypass path. The weakness is a classic CWE‑89 SQL Injection that enables unrestricted access.

Affected Systems

The affected product is Stock‑Inventory‑Management‑System from vendor mrswapnilsahu. No version information is listed, so the vulnerability exists in the current codebase that contains login.php as distributed in the repository linked in the references.

Risk and Exploitability

With a CVSS score of 9.8 the risk level is Critical. The EPSS score is 0.00701, indicating a low but non‑zero exploitation probability. An unauthenticated remote attacker can submit a crafted login form and gain full access via SQL injection or hard‑coded credentials. The vulnerability is not listed in CISA’s KEV catalog, but the lack of mitigation makes it highly attractive for exploitation. Even with a low EPSS, the exploitation effort remains negligible due to the absence of access controls or code obfuscation.

Generated by OpenCVE AI on August 10, 2026 at 22:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Rewrite the login logic to use prepared statements or parameterized queries and escape all input; this removes the SQL injection vector associated with CWE‑89.
  • Eliminate the hard‑coded admin credentials from the codebase and enforce proper credential storage (e.g., hashed password table).
  • Deploy the updated login.php source code, ensuring that the hard‑coded admin credentials are removed and the code uses parameterized queries for authentication.

Generated by OpenCVE AI on August 10, 2026 at 22:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description 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. The Stock-Inventory-Management-System application's login.php assigns raw username/password values to and builds its authentication query by directly concatenating those session values into a SQL statement with no parameterization or escaping. The same script additionally contains hardcoded administrative credentials (admin/neola) in a post-login conditional check, providing a second, independent full-authentication-bypass path.

Mon, 10 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Title Stock-Inventory-Management-System: Unauthenticated SQL Injection and Hardcoded Credentials in login.php Enable Full Authentication Bypass Stock-Inventory-Management-System - Unauthenticated SQL Injection and Hardcoded Credentials in login.php Enable Full Authentication Bypass

Wed, 05 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Swapnilsahu
Swapnilsahu stock Management System
Vendors & Products Swapnilsahu
Swapnilsahu stock Management System

Wed, 05 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Stock-Inventory-Management-System: Unauthenticated SQL Injection and Hardcoded Credentials in login.php Enable Full Authentication Bypass
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Swapnilsahu Stock Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T11:45:09.334Z

Reserved: 2026-08-05T06:56:15.799Z

Link: CVE-2026-71207

cve-icon Vulnrichment

Updated: 2026-08-05T13:28:28.423Z

cve-icon NVD

Status : Received

Published: 2026-08-05T08:16:42.717

Modified: 2026-08-10T12:17:24.480

Link: CVE-2026-71207

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T23:00:07Z

Weaknesses
  • CWE-89

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