CartWeaver SQL Injection holes
The ColdFusion version of CartWeaver has some security vulnerabilities that were discovered. French security company FrSIRT has released an announcement about the holes, also stating that there are no known vendor patches available. Apparently CartWeaver v. version 2.16.11 and prior are affected (2.16.11 is the latest version). These are SQL injection holes, and it looks like they didn't use cfQueryParam.
This brings back the discussion that occurred in the comments of one of my recent posts. A couple of SQL server fans were telling me that you don't really have to worry about SQL injection problems in SQL server, because "if your code is susceptible to SQL injection you're screwed no matter what." Well, what if you purchase a third party product like CartWeaver? Are you going to feel safe trusting their code, when SQL Server allows SQL injection of the multiple-queries-in-one-statement type? This is why Oracle, DB2 and others don't allow multiple queries in one cfquery tag.
Jake Munson
33 Yrs old

This free incremental update is released to address a potential issue with erroneous values passed to a query in a URL variable. Cartweaver 2 CF has always used Custom Error handling to present benign error messages to the user should erroneous query string data be passed to a CFQuery. However, there is the potential of a developer/user disabling the custom error feature in order to see the complete CF Error information during the development and set up of a Cartweaver based site, and then mistakenly publishing the site to the live server with Enable Error Handling still disabled.
Due to ColdFusions elegant method of handling query string data, no real threat was present to the data stored in the database and due to the fact that Cartweaver does not store sensitive credit data, there was no chance of any customer financial data being compromised. However the error messages presented by ColdFusion in this sort of a query failure could reveal application data that may not be intended to be visible to the public such as database table and field names. This update to Cartweaver corrects this issue by scrubbing the erroneous or mis-formatted query string values and presenting the user with either valid search results or a no product found style message for product details.
To avoid the potential of problems with erroneous or malicious query strings we recommend Cartweaver users apply this update to their sites. If an update is not possible we encourage users to make sure that the default Error Handling is turned on.
This update release is part of our on-going efforts to make Cartweaver the best choice in ecommerce solutions.
If you have any questions, please fill out our contact form at: http://www.cartweaver.com/contact/
Thank you.
Cartweaver Development Team.
www.cartweaver.com
As for stored procedures, that can be hard to do with packaged products like this, since most need to be able to work with multiple databases like MSSQL, MySQL and yes, even Access (I know, it sucks...but the simple fact is many small stores still use it). So I don't have a problem with them not using SP's. But they ought to understand the security issues when you don't!
Hope this clears things up.
Thanks.
Lawrence Cramer
Cartweaver.com