Advisory Details

July 1st, 2015

SQLite printf Format String Remote Code Execution Vulnerability

ZDI-15-290
ZDI-CAN-2889

CVE ID CVE-2015-3717
CVSS SCORE 5.1, AV:N/AC:H/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 ['19789']. 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 printf function. The issue lies in the ability to use an arbitrary format string as an argument to an insecure printf function. 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:
http://support.apple.com/kb/HT201222
DISCLOSURE TIMELINE
  • 2015-05-18 - Vulnerability reported to vendor
  • 2015-07-01 - Coordinated public release of advisory
CREDIT Peter Rutenbar
BACK TO ADVISORIES