PT-2009-34: AKmedia CMS SQL Injection Vulnerability Affected SoftwareAKmedia CMS Versions up to 2.dm Product Link: http://akmedia.ru/Severity 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 DescriptionAKmedia 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 AKmedia CMS. Application incorrectly validates input in URL, and also data in HTTP Referer and User-Agent headers. 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 AKmedia CMS 2.dm.Disclosure Timeline25/03/2009 - Vendor is notified 25/03/2009 - Vendor response 26/03/2009 - Vendor releases fixed version and details 26/05/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-34 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