CVE-2026-8131
SQL Injection in SourceCodester SUP Online Shopping
Publication date: 2026-05-08
Last updated on: 2026-05-08
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| sourcecodester | sup_online_shopping | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-8131 is a SQL injection vulnerability found in the SUP Online Shopping Project V1.0, specifically in the /admin/replymsg.php file. The flaw exists in the msgid parameter, which lacks proper input validation, allowing attackers to inject malicious SQL queries.
This vulnerability can be exploited remotely without requiring authentication, enabling attackers to perform unauthorized database operations.
Various types of SQL injection attacks such as boolean-based blind, error-based, time-based blind, and UNION query attacks have been confirmed to work against this flaw.
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized access to the database, allowing attackers to manipulate, delete, or leak sensitive data.
Attackers may gain full control over the affected system by leveraging this SQL injection flaw.
Since the attack can be launched remotely and without authentication, it poses a significant security risk to the affected application and its data.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
The vulnerability in /admin/replymsg.php can be detected by testing the msgid parameter for SQL injection using various payloads such as boolean-based blind, error-based, time-based blind, and UNION query attacks.
Common detection methods include sending crafted HTTP requests to the vulnerable endpoint with SQL injection payloads and observing the responses for anomalies or delays.
- Use curl or similar tools to send test requests, for example: curl 'http://target/admin/replymsg.php?msgid=1' and then curl 'http://target/admin/replymsg.php?msgid=1 OR 1=1--'
- Use automated SQL injection detection tools like sqlmap targeting the msgid parameter to confirm vulnerability.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include implementing prepared statements to handle database queries safely and validating and filtering all user inputs, especially the msgid parameter.
Additionally, restrict database user permissions to the minimum necessary to reduce the impact of a potential exploit.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The SQL injection vulnerability in SourceCodester SUP Online Shopping 1.0 allows attackers to gain unauthorized access to the database, potentially leading to data manipulation, deletion, or leakage.
Such unauthorized access and potential data breaches can result in non-compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive personal and health information.
Failure to protect data adequately due to this vulnerability could lead to violations of these regulations, resulting in legal and financial consequences for affected organizations.