Submit #775168: SourceCodester Sales and Inventory System 1.0 SQL Injectioninfo

TitleSourceCodester Sales and Inventory System 1.0 SQL Injection
DescriptionA SQL Injection vulnerability exists in version 1.0 of the Inventory System, specifically within the view_product.php component. The application fails to properly sanitize the searchtxt parameter in HTTP POST requests triggered during the product search functionality. This allows an authenticated attacker to inject and execute arbitrary SQL commands. As the backend database is MySQL, the vulnerability can be exploited using UNION-based (11 columns), Boolean-based blind, and Time-based blind injection techniques. Successful exploitation allows attackers to bypass authentication by reading administrator credentials, exfiltrate sensitive database content such as users, orders, and supplier information, and enumerate the underlying database schema.
Source⚠️ https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-ViewProduct-searchtxt.md
User
 Anonymous User
Submission03/08/2026 15:17 (1 month ago)
Moderation03/22/2026 09:43 (14 days later)
StatusAccepted
VulDB entry352409 [SourceCodester Sales and Inventory System 1.0 HTTP POST Request /view_product.php searchtxt sql injection]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!