提交 #803613: SourceCodester Pizzafy Ecommerce System 1.0 SQL Injection (Error-Based)信息

标题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

Interested in the pricing of exploits?

See the underground prices here!