Submit #775166: 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_payments.php component. The application fails to properly sanitize the searchtxt parameter in HTTP POST requests during the payment search process. This allows an authenticated attacker to inject and execute arbitrary SQL commands. As the backend database is MySQL, the vulnerability can be exploited using Boolean-based blind and Time-based blind injection techniques to exfiltrate sensitive database content—such as payment records and transaction history—and to enumerate the database schema.
Source⚠️ https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-ViewPayments-searchtxt.md
User
 Anonymous User
Submission03/08/2026 15:15 (1 month ago)
Moderation03/22/2026 09:42 (14 days later)
StatusAccepted
VulDB entry352408 [SourceCodester Sales and Inventory System 1.0 HTTP POST Request /view_payments.php searchtxt sql injection]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!