Closed
Bug 983857
Opened 12 years ago
Closed 3 years ago
Risky .lnk file download/upload handling.
Categories
(Firefox :: File Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1773894
People
(Reporter: albinowax, Unassigned)
Details
(Keywords: sec-low)
Attachments
(1 file)
|
1.15 KB,
application/octet-stream
|
Details |
If a user downloads a .lnk file (a windows shortcut), and then attempts to upload the same file, whatever the shortcut points to will be uploaded instead. Given a suitably cooperative user, this could be exploited to read a file from their computer. I've attached a poc, which will steal calc.exe if you're kind enough to download and upload it.
I think this is a fairly plausible attack, although I'd give it low/medium risk due to the heavy user interaction required. I don't think most users would expect there to be any security risks associated with uploading a file they've downloaded. I'd appreciate feedback on whether you view this as a security issue.
Chrome avoids the problem by converting the .lnk extension to .download
I would rate this as a low for two reasons"
1) Other than well known file names on systems the attacker would have to know the full name and file path to a particular file
2) (your reason) The attacker would have to convince the user to download the file then re-upload the same file.
It's likely that any user who would fall for this would upload just about any file you asked.
Updated•12 years ago
|
Component: Security → File Handling
Product: Toolkit → Core
Updated•10 years ago
|
Group: core-security → dom-core-security
Updated•9 years ago
|
Group: dom-core-security → firefox-core-security
Product: Core → Firefox
Version: unspecified → Trunk
Updated•3 years ago
|
Severity: normal → S3
| Reporter | ||
Comment 2•3 years ago
|
||
Can you make this report public? Thanks.
Updated•3 years ago
|
Group: firefox-core-security
Comment 3•3 years ago
|
||
Neil, I think this got fixed in bug 1773894, right?
Flags: needinfo?(enndeakin)
Comment 4•3 years ago
|
||
Looks to be the same.
Status: NEW → RESOLVED
Closed: 3 years ago
Duplicate of bug: CVE-2022-36314
Flags: needinfo?(enndeakin)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•