Closed
Bug 2038669
Opened 6 months ago
Closed 6 months ago
Don't apply event handlers from xulstore.json
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
People
(Reporter: tschuster, Assigned: tschuster)
References
Details
(Keywords: csectype-priv-escalation, sec-moderate, Whiteboard: [adv-main151+r][adv-esr115.36+r][adv-esr140.11+r])
Attachments
(4 external files, 1 obsolete file)
No description provided.
| Assignee | ||
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Assignee: nobody → tschuster
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•6 months ago
|
||
[Tracking Requested - why for this release]: Part of the exploit chain in bug 2038573
status-firefox150:
--- → affected
status-firefox151:
--- → affected
status-firefox152:
--- → affected
tracking-firefox150:
--- → ?
tracking-firefox151:
--- → ?
tracking-firefox152:
--- → ?
| Assignee | ||
Comment 3•6 months ago
|
||
Comment on attachment 9585136 [details]
(secure)
Security Approval Request
- How easily could an exploit be constructed based on the patch?: Not very easily. Without another exploit to make us load the xulstore.json.
- Do comments in the patch, the check-in comment, or tests included in the patch paint a bulls-eye on the security problem?: Yes
- Which branches (beta, release, and/or ESR) are affected by this flaw, and do the release status flags reflect this affected/unaffected state correctly?: all
- If not all supported branches, which bug introduced the flaw?: None
- Do you have backports for the affected branches?: Yes
- If not, how different, hard to create, and risky will they be?: This code doesn't seem to have meaningfully changed in years.
- How likely is this patch to cause regressions; how much testing does it need?: Very low. We don't use event handler attributes in our own code and the persist code was only really meant for a handful of known properties.
- Is the patch ready to land after security approval is given?: Yes
- Is Android affected?: No
Attachment #9585136 -
Flags: sec-approval?
Updated•6 months ago
|
Attachment #9585136 -
Flags: sec-approval? → sec-approval+
Updated•6 months ago
|
Pushed by tschuster@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/58e86a0a09b2
https://hg.mozilla.org/integration/autoland/rev/222162d21f99
Skip event handlers in XULPersist. r=mossop
Comment 5•6 months ago
|
||
Please add uplift requests to this bug for all branches when you get a chance.
status-firefox-esr115:
--- → affected
status-firefox-esr140:
--- → affected
tracking-firefox-esr115:
--- → 151+
tracking-firefox-esr140:
--- → 151+
Flags: needinfo?(tschuster)
Updated•6 months ago
|
Keywords: csectype-sandbox-escape,
sec-moderate
Comment 6•6 months ago
|
||
Group: dom-core-security → core-security-release
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
| Assignee | ||
Comment 7•6 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D299726
Updated•6 months ago
|
Attachment #9585560 -
Flags: approval-mozilla-beta?
Comment 8•6 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: This is a hardening change to break part of an exploit chain.
- Code covered by automated testing?: no
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: We should never be persisting event handlers in our xulstore during normal operation. Skipping them should always be safe.
- String changes made/needed?: no
- Is Android affected?: no
Comment 9•6 months ago
|
||
firefox-esr115 Uplift Approval Request
- User impact if declined/Reason for urgency: This is a hardening change to break part of an exploit chain.
- Code covered by automated testing?: no
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: We should never be persisting event handlers in our xulstore during normal operation. Skipping them should always be safe.
- String changes made/needed?: no
- Is Android affected?: no
Attachment #9585561 -
Flags: approval-mozilla-esr115?
| Assignee | ||
Comment 10•6 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D299726
Comment 11•6 months ago
|
||
firefox-esr140 Uplift Approval Request
- User impact if declined/Reason for urgency: This is a hardening change to break part of an exploit chain.
- Code covered by automated testing?: no
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: We should never be persisting event handlers in our xulstore during normal operation. Skipping them should always be safe.
- String changes made/needed?: no
- Is Android affected?: no
Attachment #9585562 -
Flags: approval-mozilla-esr140?
| Assignee | ||
Comment 12•6 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D299726
Comment 13•6 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: This is a hardening change to break part of an exploit chain.
- Code covered by automated testing?: no
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: We should never be persisting event handlers in our xulstore during normal operation. Skipping them should always be safe.
- String changes made/needed?: no
- Is Android affected?: no
Attachment #9585563 -
Flags: approval-mozilla-release?
| Assignee | ||
Comment 14•6 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D299726
| Assignee | ||
Updated•6 months ago
|
Flags: needinfo?(tschuster)
Updated•6 months ago
|
Attachment #9585560 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•6 months ago
|
Comment 15•6 months ago
|
||
| uplift | ||
Updated•6 months ago
|
Attachment #9585562 -
Flags: approval-mozilla-esr140? → approval-mozilla-esr140+
Updated•6 months ago
|
Comment 16•6 months ago
|
||
| uplift | ||
Updated•6 months ago
|
Attachment #9585561 -
Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Updated•6 months ago
|
Comment 17•6 months ago
|
||
| uplift | ||
Updated•6 months ago
|
QA Whiteboard: [sec] [uplift] [qa-triage-done-c152/b151]
Updated•6 months ago
|
Attachment #9585563 -
Attachment is obsolete: true
Attachment #9585563 -
Flags: approval-mozilla-release?
Updated•6 months ago
|
Updated•6 months ago
|
Whiteboard: [adv-main151+][adv-main151+][adv-main151+][adv-esr115.36+][adv-esr115.36+][adv-esr115.36+][adv-esr140.11+][adv-esr140.11+][adv-esr140.11+]
Updated•6 months ago
|
Whiteboard: [adv-main151+][adv-main151+][adv-main151+][adv-esr115.36+][adv-esr115.36+][adv-esr115.36+][adv-esr140.11+][adv-esr140.11+][adv-esr140.11+] → [adv-main151+][adv-esr115.36+][adv-esr140.11+]
Updated•6 months ago
|
Whiteboard: [adv-main151+][adv-esr115.36+][adv-esr140.11+] → [adv-main151+r][adv-esr115.36+r][adv-esr140.11+r]
Comment 18•6 months ago
|
||
This patch fixes part of the exploit chain for the sandbox escape in bug 2038573. It meets the criteria for our exploit mitigation bounty category.
Flags: sec-bounty+
Updated•6 months ago
|
Keywords: csectype-sandbox-escape → csectype-priv-escalation
Updated•3 months ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•