| タイトル | 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 月 ago) |
|---|
| モデレーション | 2026年08月24日 00:40 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 394577 [itsourcecode Library Management System 1.0 editbooks.php 識別子 SQLインジェクション] |
|---|
| ポイント | 20 |
|---|