Closed
Bug 1489020
Opened 6 years ago
Closed 6 years ago
Use after free in IndexedDB
Categories
(Core :: Storage: IndexedDB, defect, P1)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
mozilla64
People
(Reporter: zhanjiasong45, Assigned: janv)
References
Details
(4 keywords, Whiteboard: [reporter-external] [client-bounty-form] [verif?],DWS_NEXT)
Attachments
(2 files)
The patch for Bug 1459383 is not good enough, it can be bypassed by setting the getter on Object's prototype.
Steps to reproduce:
run firefox with attached html
Firefox version:62.0 (64-bit)
operating system version:Linux x86_64
Flags: sec-bounty?
Reporter | ||
Comment 1•6 years ago
|
||
asan log from latest asan version(download from https://developer.mozilla.org/en-US/docs/Mozilla/Testing/Firefox_and_Address_Sanitizer ,64.0a1 (2018-09-06) (64-bit) ).
Updated•6 years ago
|
Group: firefox-core-security → dom-core-security
Component: Security → DOM: IndexedDB
Product: Firefox → Core
See Also: → CVE-2018-12378
Comment 2•6 years ago
|
||
Thank you for the repro! It is invaluable!
Over in bug 1487660 where ASAN caught this (presumably due to your testing of your prototype and reporting of the crash, which we appreciate!) I was hypothesizing that the problem was a prototype chain issue since we perform the clone in the same realm/global, so it's good to have a conclusive answer and repro here! (It's bad that I didn't think of the problem during the original fix of course!)
Updated•6 years ago
|
Keywords: csectype-uaf,
sec-high
See Also: → 1487660
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P1
Updated•6 years ago
|
Flags: needinfo?(choller)
Updated•6 years ago
|
Assignee: nobody → jvarga
Updated•6 years ago
|
Whiteboard: [reporter-external] [client-bounty-form] [verif?] → [reporter-external] [client-bounty-form] [verif?],DWS_NEXT
Assignee | ||
Comment 6•6 years ago
|
||
This is the same issue as in bug 1487660, not sure if we should dupe it since there's a sec-bounty? flag.
Flags: needinfo?(jvarga)
Comment 7•6 years ago
|
||
(In reply to Jan Varga [:janv] from comment #6)
> This is the same issue as in bug 1487660, not sure if we should dupe it
> since there's a sec-bounty? flag.
The reporter of bug 1487660 and this bug are the same, we can dupe the other bug to this one and handle the sec-bounty flag here.
Assignee | ||
Comment 8•6 years ago
|
||
This has been fixed. See bug 1487660 and bug 1492737.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Group: dom-core-security → core-security-release
status-firefox63:
--- → fixed
status-firefox64:
--- → fixed
status-firefox-esr60:
--- → fixed
Target Milestone: --- → mozilla64
Updated•6 years ago
|
Group: core-security-release
Updated•8 months ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•