| Название | SourceCodester Pizzafy Ecommerce System 1.0 SQL Injection (Error-Based) |
|---|
| Описание | Pizzafy Ecommerce System 1.0 contains an authenticated error-based SQL Injection vulnerability in the save_settings functionality, specifically in the name parameter processed by the endpoint /pizzafy/admin/ajax.php?action=save_settings. The issue is caused by improper sanitization of user-supplied input before it is concatenated into an SQL UPDATE statement. An authenticated attacker with access to the administrative settings feature can inject arbitrary SQL expressions and trigger database errors that disclose backend information, such as the current database name. This vulnerability may be abused to enumerate database structure, extract sensitive records, and potentially modify application data. The root cause is unsafe dynamic SQL construction in the save_settings() method, which directly embeds POST parameters into the query without parameterized statements or sufficient input validation. This issue maps to CWE-89: Improper Neutralization of Special Elements used in an SQL Command. |
|---|
| Источник | ⚠️ https://github.com/r3ng4f/Pizzafy_1/edit/main/01-exploit.md |
|---|
| Пользователь | r3ng4f (UID 73285) |
|---|
| Представление | 13.04.2026 17:02 (2 месяцы назад) |
|---|
| Модерация | 29.04.2026 15:17 (16 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 360141 [SourceCodester Pizzafy Ecommerce System 1.0 Setting ajax.php?action=save_settings SQL-инъекция] |
|---|
| Баллы | 20 |
|---|