Blind SQL Injection PivotX <= v2.3.11 From: Manuel Garcia Cardenas Date: Thu, 14 Jul 2016 09:38:19 +0200 ============================================= MGC ALERT 2016-003 - Original release date: April 14, 2016 - Last revised: July 14, 2016 - Discovered by: Manuel GarcAa CA!rdenas - Severity: 7,1/10 (CVSS Base Score) ============================================= I. VULNERABILITY ------------------------- Blind SQL Injection PivotX <= v2.3.11 II. BACKGROUND ------------------------- PivotX is an open source blog software written in PHP using either flat files or a database to store content. It uses the Smarty web template system and the TinyMCE editor. III. DESCRIPTION ------------------------- This bug was found using the portal with authentication as administrator. To exploit the vulnerability only is needed use the version 1.0 of the HTTP protocol to interact with the application. It is possible to inject SQL code in the variable "del" on the page "/pivotx/pivotx/index.php". IV. PROOF OF CONCEPT ------------------------- The following URL's and parameters have been confirmed to all suffer from Blind SQL injection. /pivotx/pivotx/index.php?page=comments&uid=1&del=1+AND+1=1 /pivotx/pivotx/index.php?page=comments&uid=1&del=1+AND+1=0 V. BUSINESS IMPACT ------------------------- Public defacement, confidential data leakage, and database server compromise can result from these attacks. Client systems can also be targeted, and complete compromise of these client systems is also possible. VI. SYSTEMS AFFECTED ------------------------- PivotX <= v2.3.11 VII. SOLUTION ------------------------- Vendor fix the vulnerability: https://sourceforge.net/p/pivot-weblog/code/4474/ VIII. REFERENCES ------------------------- http://pivotx.net/ IX. CREDITS ------------------------- This vulnerability has been discovered and reported by Manuel GarcAa CA!rdenas (advidsec (at) gmail (dot) com). X. REVISION HISTORY ------------------------- April 14, 2016 1: Initial release April 22, 2016 2: Revision to send to lists XI. DISCLOSURE TIMELINE ------------------------- April 14, 2016 1: Vulnerability acquired by Manuel Garcia Cardenas April 14, 2016 2: Send to vendor April 26, 2016 3: Vendor fix vulnerability July 14, 2016 4: Send to the Full-Disclosure lists XII. LEGAL NOTICES ------------------------- The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. XIII. ABOUT ------------------------- Manuel Garcia Cardenas Pentester