The "export" function in the Certificate Viewer can force local filesystem navigation when the "common name" in a certificate contains slashes, allowing certificate content to be saved in unsafe locations with an arbitrary filename. This vulnerability affects Firefox < 51.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://bugzilla.mozilla.org/show_bug.cgi?id=1017616 | issue tracking vendor advisory |
http://www.securitytracker.com/id/1037693 | vdb entry third party advisory |
https://www.mozilla.org/security/advisories/mfsa2017-01/ | vendor advisory |
http://www.securityfocus.com/bid/95763 | vdb entry third party advisory |