| 标题 | sourcecodester Pet Grooming Management Software v1.0 SQL injection |
|---|
| 描述 | A SQL injection vulnerability was found in the 'get_barcode_data.php' file of the 'Pet grooming management' project. The reason for this issue is that attackers inject malicious code from the parameter "barcode" and use it directly in SQL queries without the need for appropriate cleaning or validation. The user-supplied value is embedded in the statement `SELECT product_id FROM tbl_barcode WHERE barcode = '$barcode'` and in a follow-up query using `$product_id` from the first result, allowing attackers to forge input values, thereby manipulating SQL queries and performing unauthorized operations. |
|---|
| 来源 | ⚠️ https://github.com/niaoniaollll/cve/issues/1 |
|---|
| 用户 | niaoniaolll (UID 99367) |
|---|
| 提交 | 2026-07-01 10時30分 (2 月前) |
|---|
| 管理 | 2026-08-17 15時13分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 391274 [SourceCodester Pet Grooming Management Software 1.0 get_barcode_data.php barcode SQL注入] |
|---|
| 积分 | 20 |
|---|