CVE-2026-37149
Deferred Deferred - Pending Action
SQL Injection in Grocery Store Management System PHP MyAdmin

Publication date: 2026-06-25

Last updated on: 2026-06-25

Assigner: MITRE

Description
GROCERY-STORE-MANAGEMENT-SYSTEM-USING-PHP-AND-MYSQL-PHPMYADMIN v1.0 was discovered to contain a SQL injection vulnerability in the scost parameter in /grocery/search_products.php. This vulnerability allows attackers to access sensitive database information via a crafted SQL statement.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-25
Last Modified
2026-06-25
Generated
2026-06-26
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-37149 is a SQL injection vulnerability found in the "scost" parameter of the /grocery/search_products.php file in GROCERY-STORE-MANAGEMENT-SYSTEM-USING-PHP-AND-MYSQL-PHPMYADMIN v1.0. This vulnerability occurs because the application does not properly sanitize user input before including it in SQL queries.

An attacker can exploit this flaw by injecting malicious SQL code through the vulnerable parameter, which allows unauthorized access to sensitive database information and execution of arbitrary SQL commands.

The vulnerability was confirmed using Boolean-based SQL Injection techniques, demonstrating the ability to enumerate the database and execute SQL functions such as SELECT database().

Impact Analysis

This SQL injection vulnerability can have severe impacts including unauthorized reading of sensitive data, modification of database contents, and execution of arbitrary SQL commands.

  • Attackers can enumerate the database and extract sensitive information.
  • It can lead to authentication bypass, allowing attackers to gain unauthorized access.
  • Attackers may modify or delete database records, potentially disrupting business operations.
  • The vulnerability can enable execution of administrative database operations, which might compromise the entire database system.
Detection Guidance

The vulnerability is a SQL Injection in the "scost" parameter of the /grocery/search_products.php file. Detection can involve testing this parameter with crafted inputs to observe if SQL injection is possible.

Common detection techniques include using Boolean-based SQL Injection tests, such as injecting payloads that alter the logic of the SQL query (e.g., adding "' OR '1'='1" or similar) and observing the application's response for differences.

Commands or tools to detect SQL Injection vulnerabilities include:

  • Using curl or wget to send crafted HTTP requests with SQL injection payloads in the "scost" parameter, for example: curl "http://target/grocery/search_products.php?scost=' OR '1'='1"
  • Using automated scanners such as sqlmap to test the parameter: sqlmap -u "http://target/grocery/search_products.php?scost=1" --batch
  • Manually testing with payloads that cause syntax errors or logical changes, such as injecting single quotes or SQL keywords, to see if error messages or data leakage occurs.
Mitigation Strategies

Immediate mitigation steps include:

  • Use prepared statements and parameterized SQL queries to separate user input from executable SQL code.
  • Validate and sanitize all user inputs on the server side, especially the "scost" parameter, ensuring it only accepts expected numeric values.
  • Avoid directly concatenating user-controlled input into SQL queries.
  • Implement strict input validation using allow lists rather than deny lists.
  • If possible, apply patches or updates provided by the software vendor or developers that fix the vulnerability.
Compliance Impact

The SQL injection vulnerability in the GROCERY-STORE-MANAGEMENT-SYSTEM-USING-PHP-AND-MYSQL-PHPMYADMIN v1.0 allows attackers to access sensitive database information by injecting malicious SQL code. This unauthorized access and potential data modification can lead to breaches of confidentiality and integrity of personal or sensitive data.

Such breaches can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive personal and health information. Unauthorized disclosure or alteration of data due to this vulnerability could result in violations of these regulations, leading to legal and financial consequences.

Mitigating this vulnerability by using prepared statements, parameterized queries, and proper input validation is essential to maintain compliance and protect sensitive data.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-37149. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart