| Título | itsourcecode Library Management System 1.0 SQL Injection |
|---|
| Descripción | 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 |
|---|
| Fuente | ⚠️ https://github.com/microwaveabi/vul/issues/89 |
|---|
| Usuario | microwave (UID 96185) |
|---|
| Sumisión | 2026-07-11 05:15 (hace 1 mes) |
|---|
| Moderación | 2026-08-24 00:40 (1 month later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 394577 [itsourcecode Library Management System 1.0 editbooks.php ID inyección SQL] |
|---|
| Puntos | 20 |
|---|