Closed
Bug 1045460
Opened 10 years ago
Closed 6 years ago
Resource stats API performs unsafe toJSON conversions on content objects
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: bzbarsky, Unassigned)
References
Details
(Keywords: sec-other)
[Blocking Requested - why for this release]:
Just like bug 1015540 but a different addAlarm API...
Reporter | ||
Updated•10 years ago
|
Group: core-security
Updated•10 years ago
|
Component: General → DOM: Device Interfaces
Product: Firefox OS → Core
Reporter | ||
Comment 1•10 years ago
|
||
Note that I had put this in the component where the buggy code was added...
Comment 2•10 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #1)
> Note that I had put this in the component where the buggy code was added...
Oh. We've been trying to migrate as many bugs as possible out of General, since General typically can be a black hole. If it helps, we could move the blocking bug over to DOM: Device Interfaces as well.
Comment 3•10 years ago
|
||
Looks like we'd better solve this before going any further in either NetworkStats and ResourceStats. CC Ethan Tzeng, who may also help the transition.
Blocks: 1043830
Comment 4•10 years ago
|
||
How about we just fix bug 1036214 and nail up this class of attacks for good (at least for 33 onward, where we have bug 856067)? We may still need a fully-backportable solution for this of course.
Comment 5•10 years ago
|
||
Paul - Is this a blocker from a security perspective?
Flags: needinfo?(ptheriault)
Comment 6•10 years ago
|
||
Jason: yes this should be treated as a blocker (allows script privilege escalation from content to chrome IIUC).
Flags: needinfo?(ptheriault)
Updated•10 years ago
|
blocking-b2g: 2.0? → 2.0+
Updated•10 years ago
|
QA Whiteboard: [2.0-signoff-need-]
Comment 7•10 years ago
|
||
None of the blocking bugs on this issue seem to have landed on 2.0, so i don't think we should be concerned fixing this on 2.0. Can someone confirm ?
Flags: needinfo?(selin)
Updated•10 years ago
|
Flags: needinfo?(selin) → needinfo?(vyang)
Comment 8•10 years ago
|
||
AFAIK, Resource Stats API is guarded by permission "resourcestats-manage" and we do not have any app certificated for this even in Gaia master branch. No one is really using Resource Stats API but some test cases. It's incomplete and is still under development.
Flags: needinfo?(vyang)
Comment 9•10 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #8)
> AFAIK, Resource Stats API is guarded by permission "resourcestats-manage"
> and we do not have any app certificated for this even in Gaia master branch.
> No one is really using Resource Stats API but some test cases. It's
> incomplete and is still under development.
Ok. If this API is accessible to the web yet it's probably moot, because bug 928415 will be fixed this cycle (which should fix this bug).
Once bug 928415 is marked fixed, we'll need to verify this is fixed. Marking sec-other for now.
Comment 10•10 years ago
|
||
(In reply to (PTO 8/22 - 9/1) from comment #9)
> (In reply to Vicamo Yang [:vicamo][:vyang] from comment #8)
> > AFAIK, Resource Stats API is guarded by permission "resourcestats-manage"
> > and we do not have any app certificated for this even in Gaia master branch.
> > No one is really using Resource Stats API but some test cases. It's
> > incomplete and is still under development.
>
> Ok. If this API is accessible to the web yet it's probably moot, because bug
> 928415 will be fixed this cycle (which should fix this bug).
>
> Once bug 928415 is marked fixed, we'll need to verify this is fixed. Marking
> sec-other for now.
clearing the nom for 2.0 in that case, please renom for 2.1 as needed.
blocking-b2g: 2.0+ → ---
Updated•9 years ago
|
Group: core-security → dom-core-security
Comment 11•6 years ago
|
||
resource stats api has been removed as part of B2G removal.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Updated•5 years ago
|
Group: dom-core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•