| 제목 | 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. PM 05:02 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 04. 29. PM 03:17 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 360141 [SourceCodester Pizzafy Ecommerce System 1.0 Setting ajax.php?action=save_settings SQL 주입] |
|---|
| 포인트들 | 20 |
|---|