| 제목 | 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. AM 05:15 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 08. 24. AM 12:40 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 394577 [itsourcecode Library Management System 1.0 editbooks.php 아이디 SQL 주입] |
|---|
| 포인트들 | 20 |
|---|