CVE-2026-4613
Received Received - Intake
SQL Injection in SourceCodester E-Commerce /products.php Allows Remote Exploit

Publication date: 2026-03-24

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in SourceCodester E-Commerce Site 1.0. This vulnerability affects unknown code of the file /products.php. The manipulation of the argument Search results in sql injection. The attack can be executed remotely. The exploit has been made public and could be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-24
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-03-24
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester e-commerce_site 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
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.
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.
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include:

  • Use prepared statements with parameter binding to separate SQL code from user input, preventing injection.
  • Implement strict input validation and filtering to ensure inputs conform to expected formats.
  • Minimize database user permissions by avoiding use of high-privilege accounts (such as root or admin) for routine operations.
  • Conduct regular security audits to detect and fix vulnerabilities promptly.

Can you explain this vulnerability to me?

CVE-2026-4613 is a critical SQL injection vulnerability found in version 1.0 of the SourceCodester E-Commerce Site, specifically in the /products.php file. The issue arises because the search parameter is directly used in SQL queries without proper input validation or sanitization.

This flaw allows attackers to inject malicious SQL code remotely without needing authentication, which can lead to unauthorized database access, data leakage, data modification or deletion, full system control, and potential service disruption.

The vulnerability can be exploited using various SQL injection techniques such as boolean-based blind, time-based blind, and UNION query types.


How can this vulnerability impact me? :

This vulnerability can have severe impacts including unauthorized access to sensitive data stored in the database, modification or deletion of data, and potentially full control over the affected system.

Attackers can disrupt services, cause data breaches, and compromise the integrity and availability of the e-commerce platform.

Since the exploit requires no authentication and can be executed remotely, it poses a significant risk to the security and trustworthiness of the affected system.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'This vulnerability can be detected by testing the /products.php endpoint for SQL injection via the search parameter. One effective method is to use automated tools like sqlmap to identify the flaw.'}, {'type': 'paragraph', 'content': 'A suggested command to confirm the vulnerability using sqlmap is:'}, {'type': 'list_item', 'content': 'sqlmap -u http://localhost/products.php --data="search=123" --batch'}, {'type': 'paragraph', 'content': 'Additionally, manual testing can be performed using payloads such as boolean-based blind, time-based blind, or UNION query injections to observe abnormal behavior or delays.'}] [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart