Microsoft .library-ms files potentially unsafe
Categories
(Firefox :: File Handling, defect, P2)
Tracking
()
People
(Reporter: mak, Assigned: mak)
References
()
Details
(Keywords: csectype-disclosure, sec-moderate, Whiteboard: [adv-main133+][adv-esr128.5+])
Attachments
(4 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details | Review |
|
271 bytes,
text/plain
|
Details |
Chromium has added full ping for .library-ms, the code comment reads as:
# Windows Library Description Schema. This is a shell extension that can
# cause information to be leaked to remote file shares.
# https://learn.microsoft.com/en-us/windows/win32/shell/library-schema-entry
The MS documentation doesn't say much, I found a little bit additional information here
https://wikileaks.org/ciav7p1/cms/page_13763381.html
https://medium.com/@mhwee/unmasking-windows-library-files-a-deep-dive-into-client-side-exploitation-6bf3371a5262
I'm not sure whether we should just add these to the safebrowsing list, or also executable lists.
Doesn't look like a format that has a lot of value when downloaded from the Web, so making it a bit more annoying to execute may not be a big deal.
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
let's add this as executable, considered it's not very commonly downloaded anyway, so adding a warning won't break common workflows.
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:Gijs, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Comment 5•1 year ago
|
||
| Assignee | ||
Comment 6•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D226775
Updated•1 year ago
|
Comment 7•1 year ago
|
||
beta Uplift Approval Request
- User impact if declined: sec-moderate
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Try downloading a file with one of these extensions. If you can't find one easily, rename one in a local file explorer and drag to the tabstrip. Expected behaviour is that once downloaded there's a prompt when trying to open it, rather than it immediately execute
- Risk associated with taking this patch: low
- Explanation of risk level: Adding file extension to a list
- String changes made/needed: none
- Is Android affected?: no
| Assignee | ||
Comment 8•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D226775
Updated•1 year ago
|
Comment 9•1 year ago
|
||
esr128 Uplift Approval Request
- User impact if declined: sec-moderate
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Try downloading a file with one of these extensions. If you can't find one easily, rename one in a local file explorer and drag to the tabstrip. Expected behaviour is that once downloaded there's a prompt when trying to open it, rather than it immediately execute
- Risk associated with taking this patch: Low
- Explanation of risk level: Adding file extension to a list
- String changes made/needed: none
- Is Android affected?: no
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 11•1 year ago
|
||
Hi,
I am trying to verify the fix but unfortunately I couldn't find a .library-ms file to download and when I created a new one and renamed it in a local file explorer and then dragged it to the tab-strip it opened the file inside without any prompt (on the fixed versions) could you please attach a file with that extension that I could use?
Thank you!
Updated•1 year ago
|
Comment 12•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
| Assignee | ||
Comment 13•1 year ago
|
||
(In reply to Peter Magyari (Desktop QA) from comment #11)
could you please attach a file with that extension that I could use?
I think you can test using this link https://mime.ty.ax/dl/test.library-ms?ty=txt&ct=application%2Foctet-stream&cd=attachment
Comment 14•1 year ago
|
||
I have verified the fix on Nightly 134.0a1 (20241104213308), Beta 133.0b4 (20241104091514) and 128.5.0esr (20241102140110).
Thank you for the link Marco!
Updated•1 year ago
|
Comment 15•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•6 months ago
|
Description
•