CWE
89
Advisory Published
Updated

CVE-2008-6985: SQL Injection

First published: Tue Aug 18 2009(Updated: )

Multiple SQL injection vulnerabilities in includes/classes/shopping_cart.php in Zen Cart 1.2.0 through 1.3.8a, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the id parameter when (1) adding or (2) updating the shopping cart.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Zen Cart=1.3.8a
Zen Cart=1.3.2
Zen Cart=1.2.4.1
Zen Cart=1.2.1d
Zen Cart=1.2.3d
Zen Cart=1.3.6
Zen Cart=1.2.1_patch1
Zen Cart=1.2.6d
Zen Cart=1.3.7
Zen Cart=1.3.8
Zen Cart=1.2.0d
Zen Cart=1.2.4d
Zen Cart=1.2.5d
Zen Cart=1.3
Zen Cart=1.2.2d
Zen Cart=1.3.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2008-6985?

    CVE-2008-6985 is classified as a high severity vulnerability due to the potential for unauthorized SQL command execution.

  • How do I fix CVE-2008-6985?

    To mitigate CVE-2008-6985, it is recommended to patch Zen Cart to the latest version that addresses these SQL injection vulnerabilities.

  • Which Zen Cart versions are affected by CVE-2008-6985?

    CVE-2008-6985 affects Zen Cart versions from 1.2.0 to 1.3.8a, particularly when magic_quotes_gpc is disabled.

  • Can CVE-2008-6985 be exploited remotely?

    Yes, remote attackers can exploit CVE-2008-6985 to execute arbitrary SQL commands through manipulation of the id parameter.

  • What are SQL injection vulnerabilities like CVE-2008-6985?

    SQL injection vulnerabilities, like CVE-2008-6985, allow attackers to interfere with the queries that an application makes to its database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203