New issue
Advanced search Search tips

Issue 695074 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-03-03
OS: ----
Pri: ----
Type: Bug-Security



Sign in to add a comment

Services declared without permissions

Reported by smitt8...@gmail.com, Feb 22 2017

Issue description

Hello chromium security team
i find vulnerability in google chrome browser 
Platform: android
version chrome browser :55.0.2883.91
android version : 4.1+ and x86


Description vulnerability :

service is an application component that can take care of actions to be done in the background, without user interaction. service can also be used to expose functionalities to other applications. This corresponds to calls to Context.bindService() to establish a connection to the service and interact with it.

Unprotected services can be invoked by other applications and potentially access sensitive information or perform privileged actions


Technical details :

Services definition in AndroidManifest.xml:

<service android:exported="true" android:name="org.chromium.chrome.browser.prerender.ChromePrerenderService">
</service>


<service android:exported="true" android:name="org.chromium.chrome.browser.customtabs.CustomTabsConnectionService">
<intent-filter>
<action android:name="android.support.customtabs.action.CustomTabsService">
</action>
</intent-filter>
</service>





for patch this vulnerability Recommendation use :


service can expose several methods to external componenets. It is possible to define arbitrary permissions for each method using the method checkPermission.

It is also possible to seperate services and restrict access by enforcing permissions in the manifest's <service> tag


The service can enforce permissions on individual IPC calls by calling the method checkCallingPermission before executing the implementation of that call





Reference vulnerability :
http://cwe.mitre.org/data/definitions/280.html


Reference vulnerability :
https://developer.android.com/reference/android/app/Service.html


 
Labels: Needs-Feedback
Thanks for the report but I do not yet understand the security vulnerability/impact here. Specifically what exploits are possible because of the services in question? Thank you.

Comment 2 by smitt8...@gmail.com, Feb 22 2017

for patch this vulnerability use :

<permission android:name="org.chromium.chrome.browser.prerender.ChromePrerenderService.custom_permission" android:label="custom_permission" android:protectionLevel="dangerous"></permission>




<service android:name="org.chromium.chrome.browser.prerender.ChromePrerenderService.custom_service" android:permission="org.chromium.chrome.browser.prerender.ChromePrerenderService.custom_permission">
    <intent-filter>
        <action android:name="org.chromium.chrome.browser.prerender.ChromePrerenderService.ACTION" />
    </intent-filter>
</service>

Comment 3 by vakh@chromium.org, Mar 1 2017

NextAction: 2017-03-03
I'm sorry but it is still not clear what the security vulnerability here is.
Can you please create a proof of concept (PoC) to illustrate your point? That would help us evaluate this better. Thanks.
Project Member

Comment 4 by sheriffbot@chromium.org, Mar 1 2017

Cc: kerrnel@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kerrnel@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by vakh@chromium.org, Mar 1 2017

Labels: Needs-Feedback
Components: Mobile>Intents
We haven't received any actionable information in this bug; thus far, it simply consists of text copied from the Android documentation. That documentation concerns how a service may manifest itself to declare custom permissions which must be in turn declared by any callers. 

If you can share specific information about the vulnerability you believe you have found, please reactivate this issue.
Status: WontFix (was: Unconfirmed)
Project Member

Comment 8 by sheriffbot@chromium.org, Jun 15 2017

Labels: -Restrict-View-SecurityTeam allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment