CVE-2026-3755
Received Received - Intake
SQL Injection in SourceCodester Sales Inventory POST Handler

Publication date: 2026-03-08

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was determined in SourceCodester Sales and Inventory System 1.0. This impacts an unknown function of the file /check_customer_details.php of the component POST Handler. Executing a manipulation of the argument stock_name1 can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-08
Last Modified
2026-04-29
Generated
2026-05-27
AI Q&A
2026-03-08
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-3755 is a SQL injection vulnerability found in SourceCodester Sales and Inventory System version 1.0. It exists in the POST handler of the file /check_customer_details.php, specifically involving the parameter stock_name1.

The vulnerability arises because the application does not properly sanitize or neutralize special characters in the stock_name1 parameter, allowing an attacker to inject malicious SQL commands.

This flaw can be exploited remotely and may be triggered by an authenticated user sending crafted POST requests, including AJAX calls, to the vulnerable endpoint.

The injection supports multiple SQL injection techniques such as UNION-based, Boolean-based blind, and time-based blind SQL injection, enabling attackers to manipulate the backend database.


How can this vulnerability impact me? :

[{'type': 'paragraph', 'content': 'Exploiting this vulnerability allows attackers to execute arbitrary SQL commands on the backend database, which can lead to serious impacts on the system.'}, {'type': 'list_item', 'content': 'Data exfiltration: Attackers can retrieve sensitive information such as customer details and credentials.'}, {'type': 'list_item', 'content': 'Database enumeration: Attackers can map out database tables, columns, and schema information.'}, {'type': 'list_item', 'content': "Compromise of confidentiality, integrity, and availability of the system's data."}, {'type': 'paragraph', 'content': 'Since the attack can be launched remotely and without user interaction, it poses a significant security risk to affected systems.'}] [1, 2, 3]


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 parameter `stock_name1` in POST requests sent to the file `/check_customer_details.php` for SQL injection flaws.'}, {'type': 'paragraph', 'content': 'One method to identify vulnerable targets is using Google dorking with queries like `inurl:check_customer_details.php`.'}, {'type': 'paragraph', 'content': 'Automated tools such as sqlmap can be used to confirm the vulnerability by sending crafted POST requests with malicious payloads targeting the `stock_name1` parameter.'}, {'type': 'paragraph', 'content': 'An example sqlmap command to test the vulnerability is:'}, {'type': 'list_item', 'content': 'sqlmap -u "http://127.0.0.1:8089/check_customer_details.php" --data "stock_name1=Supplier+ABC" --batch -v 6 --risk=3 --cookie "PHPSESSID=YOUR_COOKIE_HERE"'}, {'type': 'paragraph', 'content': 'Example payloads for manual testing include UNION-based, Boolean-based blind, and time-based blind SQL injection payloads targeting the `stock_name1` parameter.'}] [1, 2, 3]


What immediate steps should I take to mitigate this vulnerability?

No known mitigations or countermeasures have been documented for this vulnerability.

It is recommended to replace the affected component or product to mitigate the risk.


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