Closed
Bug 1227453
Opened 10 years ago
Closed 10 years ago
chrome.cookies API doesn't check host permissions
Categories
(WebExtensions :: Untriaged, defect)
WebExtensions
Untriaged
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1210996
People
(Reporter: sdna.muneaki.nishimura, Unassigned)
References
Details
(Keywords: sec-high)
Attachments
(1 file)
|
1.22 KB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Steps to reproduce:
The 'chrome.cookies' API for WebExtensions ignores host permissions. It allows an extension having no host permission to access all domain's cookie data in Firefox.
Attached is a sample extension that can reproduce the issue.
Actual results:
When you click the button of this extension you can see all cookies in Firefox regardless of their origin. However manifest.json of this extension declares "http://csrf.jp/*" only.
Expected results:
The same API in Chrome restricts access of cookie by both 'cookies' and host permissions (see following URL). Firefox should have the same restriction.
https://developer.chrome.com/extensions/cookies
Updated•10 years ago
|
Component: General → WebExtensions
Flags: needinfo?(amckay)
Product: Core → Toolkit
Updated•10 years ago
|
Flags: needinfo?(amckay)
Updated•10 years ago
|
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•