CVE-2009-4571 in PhpShopinfo

Summary

by MITRE

Multiple SQL injection vulnerabilities in index.php in PhpShop 0.8.1 allow remote attackers to execute arbitrary SQL commands via the (1) module_id parameter in an admin/function_list action, the (2) vendor_id parameter in a vendor/vendor_form action, the (3) module_id parameter in an admin/module_form action, the (4) user_id parameter in an admin/user_form action, the (5) vendor_category_id parameter in a vendor/vendor_category_form action, the (6) user_id parameter in a store/user_form action, the (7) payment_method_id parameter in a store/payment_method_form action, the (8) tax_rate_id parameter in a tax/tax_form action, or the (9) category parameter in a shop/browse action. NOTE: the product_id vector is already covered by CVE-2008-0681.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 08/04/2025

The vulnerability described in CVE-2009-4571 represents a critical sql injection flaw affecting PhpShop version 0.8.1, specifically targeting multiple parameters across various administrative and functional endpoints. This vulnerability falls under the common weakness enumeration CWE-89 which defines sql injection as the insertion of malicious sql code into input fields for execution by the database. The affected parameters span across different modules including admin function_list, vendor operations, user management, store configurations, payment methods, tax settings, and shop browsing functionality. Each of these parameters serves as a potential entry point for attackers to manipulate the underlying database through crafted malicious input.

The operational impact of this vulnerability is severe as it allows remote attackers to execute arbitrary sql commands without authentication, potentially leading to complete database compromise. Attackers can leverage these injection points to extract sensitive information, modify or delete database records, create new user accounts with administrative privileges, or even escalate their access to the underlying server. The breadth of affected parameters demonstrates a systemic flaw in input validation throughout the application's codebase, where multiple endpoints fail to properly sanitize user-supplied data before incorporating it into sql queries. This vulnerability particularly affects the administrative functions of the e-commerce platform, making it attractive to attackers seeking to gain unauthorized control over the online store's operations.

The exploitation of these sql injection vulnerabilities aligns with tactics described in the attack pattern taxonomy, specifically matching techniques used in database attack categories. The attack surface includes nine distinct parameter vectors, each representing a different attack pathway that could be leveraged by threat actors. The vulnerability's persistence across multiple functional areas suggests inadequate input sanitization or parameter validation mechanisms throughout the application architecture. Organizations using PhpShop 0.8.1 should consider implementing comprehensive input validation, parameterized queries, and proper output encoding as mitigation strategies. Additionally, the vulnerability's classification under CWE-89 emphasizes the critical need for secure coding practices and regular security assessments. The fact that product_id was already covered by CVE-2008-0681 indicates this was part of a broader security issue affecting the application's core data handling mechanisms, highlighting the importance of addressing sql injection vulnerabilities systematically rather than individually. This vulnerability demonstrates the critical importance of maintaining up-to-date software versions and implementing proper web application firewall rules to prevent such attacks from succeeding in production environments.

Reservation

01/05/2010

Disclosure

01/05/2010

Moderation

accepted

Entry

VDB-51434

CPE

ready

Exploit

Download

EPSS

0.00191

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!