| 标题 | itsourcecode Library Management System 1.0 SQL Injection |
|---|
| 描述 | Description:
Six files use `$_GET['id']` concatenated directly into SQL without sanitization or casting. Affected: `editbooks.php`, `editpublisher.php`, `editstaff.php`, `editstudent.php`, and more.
Vulnerable Code:
**Example - `editbooks.php`, Line 34**:
```php
$id = $_GET['id'];
$query = "SELECT * FROM books WHERE book_id = $id";
$result = mysqli_query($con, $query);
```
Impact:
- Extract all library data via UNION injection
- Modify or delete book, staff, student records
- Six separate attack vectors via GET parameters
Reference: https://github.com/microwaveabi/vul/issues/89 |
|---|
| 来源 | ⚠️ https://github.com/microwaveabi/vul/issues/89 |
|---|
| 用户 | microwave (UID 96185) |
|---|
| 提交 | 2026-07-11 05時15分 (1 月前) |
|---|
| 管理 | 2026-08-24 00時40分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 394577 [itsourcecode Library Management System 1.0 editbooks.php 标识符 SQL注入] |
|---|
| 积分 | 20 |
|---|