PT-2009-18: Cetera CMS SQL Injection Vulnerability Affected SoftwareCetera CMS Versions up to 14 (inclusive) Product Link: http://www.cetera.ruSeverity RatingSeverity: High Impact: SQL Injection Attack Vector: Remote CVSS v2Base Score: 7.5 Temporal Score: 5.9 Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P/E:P/RL:O/RC:C) CVE: not assignedSoftware DescriptionCetera CMS is a content management system (CMS) software, usually implemented as a Web application, for creating and managing HTML content. It is used to manage and control a large, dynamic collection of Web material (HTML documents and their associated images).Vulnerability DescriptionPositive Technologies Research Team has discovered an SQL injection vulnerability in Cetera CMS. Application incorrectly validates input in URL that allows attackers to conduct SQL injection attack."SQL Injection" is a way to bypass network protection and attack the database. Settings transferred to the database through Web applications are specially crafted to modify executable SQL query, for example, an attacker could execute additional query with the first one by adding different symbols to a setting. The attack can be used to reach the following goals: 1. Obtain access to data which is normally unavailable or obtain system configuration data which can be used for further attacks. For example, modified query may return hashed user passwords which could be decrypted with brute force attack. 2. Access to company machines through database server using database procedures and 3GL language extension which allows to access operating system.Details are not provided.SolutionUpdate to latest version Cetera CMS 15.Workaroundmagic_quotes on will fix the vulnerability.Disclosure Timeline03/02/2009 - Vendor is notified 03/02/2009 - Vendor response 03/03/2009 - Requested status update from vendor 03/24/2009 - Requested status update from vendor 03/24/2009 - Vendor releases fixed version and details 05/26/2009 - Public disclosureCreditsThis vulnerability was discovered by Dmitry Evteev (Positive Technologies Research Team) using professional network security scanner MaxPatrol.Referenceshttp://en.securitylab.ru/lab/PT-2009-18 http://www.ptsecurity.ru/advisory.aspComplete list of vulnerability reports published by Positive Technologies Research Team:http://en.securitylab.ru/lab/ http://www.ptsecurity.ru/advisory.asp