Closed
Bug 856190
Opened 12 years ago
Closed 12 years ago
Firefox for Metro uses MD5 as a secure hash algorithm
Categories
(Firefox for Metro Graveyard :: Browser, defect)
Firefox for Metro Graveyard
Browser
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: briansmith, Unassigned)
Details
MD5 should not be considered a secure hash algorithm. In metro/base/content/browser.js, it is used to compress URIs in the function pinSite. Instead SHA256 should be used.
As a general rule, nobody should ever be using MD5 for any purpose.
Updated•12 years ago
|
Blocks: metrov1triage
Comment 1•12 years ago
|
||
> As a general rule, nobody should ever be using MD5 for any purpose.
What exactly is the concern here? Hash functions have uses outside of security and it is used in this case to generate an ID which we don't care if it is reversible via a dictionary attack or any other attack. Unless it makes the machine insecure for some reason I'm not sure why we need or want to do this.
Reporter | ||
Comment 2•12 years ago
|
||
The hash is used to compress a URI to identify that URI. So, how is that not security-sensitive? The comment says that a unique identifier per site is needed but MD5(site) doesn't give you that property because MD5 is broken.
Comment 3•12 years ago
|
||
> The hash is used to compress a URI to identify that URI. So, how is
> that not security-sensitive?
security sensitive in which way? Do you mean privacy wise? They can just see the URL anyway if pinned to the start screen no matter what the ID is.
> The comment says that a unique identifier per site is needed but MD5(site)
> doesn't give you that property because MD5 is broken.
No hashing function gives you a unique value but it gives you a close enough to unique value.
Comment 4•12 years ago
|
||
marking as invalid since we're not using hashing for security, just to generate an ID.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•12 years ago
|
No longer blocks: metrov1triage
You need to log in
before you can comment on or make changes to this bug.
Description
•