Overview
Samsung Galaxy S phones, including the S4 Mini, S4, S5, and S6, fail to properly validate Swiftkey language pack updates.
Description
CWE-345: Insufficient Verification of Data Authenticity - CVE-2015-4640 Samsung Galaxy S phones, including the S4 Mini, S4, S5, and S6, are pre-installed with a version of SwiftKey keyboard that is signed by Samsung to operate with system privileges. By design, SwiftKey periodically checks for language pack updates over HTTP (CVE-2015-4640). By intercepting such requests and modifying the necessary fields, an attacker can write arbitrary data to vulnerable devices. |
Impact
A remote, unauthenticated attacker conducting a man-in-the-middle attack may be able to write arbitrary data to vulnerable devices checking for updates. Based on the frequency of SwiftKey update checks, which "appears to be every 8 hours" according to NowSecure researchers, such an attack may have a low likelihood of occurring. |
Solution
Apply an update |
Avoid untrusted networks |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | 5.7 | AV:A/AC:M/Au:N/C:N/I:C/A:N |
Temporal | 4.5 | E:POC/RL:OF/RC:C |
Environmental | 4.5 | CDP:N/TD:H/CR:ND/IR:ND/AR:ND |
References
- https://www.nowsecure.com/blog/2015/06/23/on-detecting-and-preventing-the-samsung-ime-keyboard-swiftkey-language-pack-update-vulnerability/
- https://www.nowsecure.com/blog/2015/06/16/remote-code-execution-as-system-user-on-samsung-phones/
- http://global.samsungtomorrow.com/information-regarding-the-keyboard-security-issue-and-our-device-policy-update/
- http://swiftkey.com/en/blog/samsung-keyboard-security-vulnerability-swiftkey/
- http://arstechnica.com/security/2015/06/new-exploit-turns-samsung-galaxy-phones-into-remote-bugging-devices/
- https://www.blackhat.com/ldn-15/summit.html#abusing-android-apps-and-gaining-remote-code-execution
- http://cwe.mitre.org/data/definitions/300.html
Acknowledgements
Thanks to Ryan Welton and Ted Eull of NowSecure for reporting this vulnerability.
This document was written by Joel Land.
Other Information
CVE IDs: | CVE-2015-4640, CVE-2015-4641 |
Date Public: | 2015-06-16 |
Date First Published: | 2015-06-16 |
Date Last Updated: | 2015-06-25 21:25 UTC |
Document Revision: | 33 |