| 标题 | 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) |
|---|
| 提交 | 2026-04-13 17時02分 (2 月前) |
|---|
| 管理 | 2026-04-29 15時17分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 360141 [SourceCodester Pizzafy Ecommerce System 1.0 Setting ajax.php?action=save_settings SQL注入] |
|---|
| 积分 | 20 |
|---|