CVE-2026-4568
Received Received - Intake
SQL Injection in SourceCodester Sales Inventory /update_supplier.php

Publication date: 2026-03-23

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in SourceCodester Sales and Inventory System 1.0. This affects an unknown function of the file /update_supplier.php of the component HTTP GET Request Handler. The manipulation of the argument sid results in sql injection. The attack may be launched remotely. The exploit has been made public and could be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-23
Last Modified
2026-04-29
Generated
2026-05-27
AI Q&A
2026-03-23
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
ahsanriaz26gmailcom sales_and_inventory_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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-4568 is a SQL Injection vulnerability found in version 1.0 of the SourceCodester Sales and Inventory System, specifically in the update_supplier.php file. The issue arises because the application does not properly sanitize the sid parameter in HTTP GET requests.

Authenticated attackers can exploit this flaw by injecting arbitrary SQL commands into the backend MySQL database through the sid parameter. The injection supports UNION-based queries with six columns, allowing attackers to retrieve and display sensitive database information.

Additionally, the vulnerability allows blind SQL injection techniques such as Boolean-based and time-based methods, enabling attackers to infer database information even without direct data retrieval.


How can this vulnerability impact me? :

This vulnerability can have serious impacts including unauthorized data exfiltration and database enumeration.

  • Attackers can retrieve and display sensitive database contents directly using UNION-based SQL injection.
  • Attackers can enumerate database schema details such as tables and columns, which can facilitate further attacks.
  • The vulnerability can be exploited remotely by authenticated users, increasing the risk of data breaches.

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 `sid` parameter in HTTP GET requests to the `update_supplier.php` file for SQL injection flaws.'}, {'type': 'paragraph', 'content': 'Automated tools like sqlmap can be used to detect and exploit this vulnerability.'}, {'type': 'list_item', 'content': 'Use sqlmap with a command targeting the vulnerable parameter, for example: sqlmap -u "http://target/update_supplier.php?sid=1" --dbms=mysql --technique=U,B,T'}, {'type': 'list_item', 'content': 'Perform manual testing with crafted payloads such as UNION-based injections, Boolean-based blind injections using CASE statements, or time-based blind injections using MySQL SLEEP() function.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

I don't know


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