제출 #803625: 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 add_to_cart functionality, specifically in the pid parameter processed by the endpoint /pizza/admin/ajax.php?action=add_to_cart. The vulnerability is caused by improper sanitization of user-supplied input before it is embedded into backend SQL statements. The affected function directly incorporates the pid parameter into SQL SELECT, UPDATE, and INSERT queries without using prepared statements or adequate input validation. When malformed SQL input is supplied, database error messages may be returned to the client, allowing attackers to leverage error-based SQL injection techniques to disclose sensitive backend information. A successful attacker can trigger database errors to enumerate schema details such as table names, database contents, and potentially extract sensitive records. Depending on the database context, the vulnerability may also allow unauthorized manipulation of cart-related records and abuse of application logic. The issue originates in the add_to_cart() method, where the pid parameter is used directly in dynamically constructed SQL statements. This vulnerability is classified as CWE-89: Improper Neutralization of Special Elements used in an SQL Command.
원천⚠️ https://github.com/r3ng4f/Pizzafy_1/blob/main/04-exploit.md
사용자
 r3ng4f (UID 73285)
제출2026. 04. 13. PM 05:10 (2 개월 ago)
모더레이션2026. 04. 29. PM 03:17 (16 days later)
상태수락
VulDB 항목360144 [SourceCodester Pizzafy Ecommerce System 1.0 ajax.php?action=add_to_cart pid SQL 주입]
포인트들20

Do you need the next level of professionalism?

Upgrade your account now!