Search
Find a vulnerability
Search criteria
1 vulnerability found for Stock-Inventory-Management-System by mrswapnilsahu
CVE-2026-71207 (GCVE-0-2026-71207)
Vulnerability from cvelistv5 – Published: 2026-08-05 06:59 – Updated: 2026-08-05 06:59
VLAI
EPSS
VEX
Title
Stock-Inventory-Management-System: Unauthenticated SQL Injection and Hardcoded Credentials in login.php Enable Full Authentication Bypass
Summary
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.
Severity
9.8 (Critical)
CWE
- CWE-89 - SQL Injection
Assigner
References
1 reference
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| mrswapnilsahu | Stock-Inventory-Management-System |
Affected:
0 , ≤ 1.0
(custom)
|
Credits
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unknown",
"product": "Stock-Inventory-Management-System",
"programFiles": [
"login.php"
],
"vendor": "mrswapnilsahu",
"versions": [
{
"lessThanOrEqual": "1.0",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Behruzbek Zokiraliyev"
}
],
"descriptions": [
{
"lang": "en",
"value": "The Stock-Inventory-Management-System application\u0027s 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 \u0027 OR \u00271\u0027=\u00271 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."
}
],
"metrics": [
{
"other": {
"content": {
"value": "CRITICAL"
},
"type": "CVSS_3.1_severity"
}
},
{
"cvssV3_1": {
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-89",
"description": "CWE-89 SQL Injection",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T06:59:10.082Z",
"orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
"shortName": "TuranSec"
},
"references": [
{
"url": "https://github.com/mrswapnilsahu/Stock-Inventory-Management-System/blob/master/login.php"
}
],
"title": "Stock-Inventory-Management-System: Unauthenticated SQL Injection and Hardcoded Credentials in login.php Enable Full Authentication Bypass"
}
},
"cveMetadata": {
"assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
"assignerShortName": "TuranSec",
"cveId": "CVE-2026-71207",
"datePublished": "2026-08-05T06:59:10.082Z",
"dateReserved": "2026-08-05T06:56:15.799Z",
"dateUpdated": "2026-08-05T06:59:10.082Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}