Advisory Details

November 18th, 2015

SQLite fts3_tokenizer Untrusted Pointer Remote Code Execution Vulnerability

ZDI-15-570
ZDI-CAN-2888

CVE ID CVE-2015-7036
CVSS SCORE 7.5, (AV:N/AC:L/Au:N/C:P/I:P/A:P)
AFFECTED VENDORS SQLite
AFFECTED PRODUCTS SQLite
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 19788. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of SQLite. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the handling of the fts3_tokenizer function. The issue lies in the optional second argument which is expected to be a pointer into a structure. An attacker can leverage this vulnerability to achieve code execution under the context of the current process.

ADDITIONAL DETAILS SQLite has issued an update to correct this vulnerability. More details can be found at:
https://support.apple.com/en-us/HT204942


Addressed in OS X 10.10.4 and iOS 8.4.


DISCLOSURE TIMELINE
  • 2015-05-18 - Vulnerability reported to vendor
  • 2015-11-18 - Coordinated public release of advisory
CREDIT Peter Rutenbar
BACK TO ADVISORIES