New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 596298 link

Starred by 6 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Security: RAR archive parsing issue in Guest mode on ChromeOS

Reported by resea...@nightwatchcybersecurity.com, Mar 20 2016

Issue description

(Split off from #595558 as requested)

VULNERABILITY DETAILS
Because of bug # 579035, we observed that double clicking on a file inside the RAR file does not properly encode the name of the file when opening in Chrome, specifically in the address bar. We are attaching a test RAR file and a screenshot. 

VERSION
Chrome Version: 49.0.2623.95 (Official Build) (64-bit)
Operating System: ChromeOS 7834.60.0 (= Official Build) stable-channel parrot

REPRODUCTION CASE
Open the RAR file to mount it. Double click the non-English PDF file inside and observe the name un-encoded in Chrome. File originally came from:
http://www.mesherasrub.ru/Kak_postroit_selskii_dom.rar
 
Kak_postroit_selskii_dom.rar
3.7 MB Download
Screenshot
32.1 KB View Download

Comment 1 by mea...@chromium.org, Mar 21 2016

Components: Platform>Apps>FileManager
Labels: OS-Chrome
Owner: mtomasz@chromium.org
Status: Assigned (was: Unconfirmed)
Reattaching the screenshot as a png. This seems to be a problem in rar handling rather than the omnibox. I'm not sure what damage an attacker can do here, other than confusing the user though, so I'm planning to drop the security labels.

mtomasz: Can you please take a look?
Screenshot.png
32.1 KB View Download
I took a quick look at this file and the file format looks broken. How did you create the archive? Could you provide exact steps? Thanks.

Comment 4 by wfh@chromium.org, Mar 25 2016

I'm not sure this is a security bug, rather than just a functional bug in the rar extractor.

research@ can you describe how an attacker might use this vulnerability to do anything malicious to users other than show an invalid filename?
Project Member

Comment 5 by ClusterFuzz, Mar 27 2016

Labels: Missing_Impact-2 Missing_Severity-2

Comment 6 by wfh@chromium.org, Mar 27 2016

Labels: -Type-Bug-Security -Missing_Impact-2 -Restrict-View-SecurityTeam -Missing_Severity-2 Type-Bug
flipping to a functional bug
Cc: ya...@nightwatchcybersecurity.com
Labels: from-mtomasz
Cc: mtomasz@chromium.org
Owner: fukino@chromium.org
Cc: fukino@chromium.org
Labels: M-66 Pri-3
Owner: yamaguchi@chromium.org
yamaguchi@ - With the updates you are making for zip, is this still an issue?
The update for Zip Archiver does not affect handling of .rar files. Therefore this will be still an issue.
 Issue 579035  has been merged into this issue.
Labels: CrOS-FilesApp-Zip
<files-triage>
Labels: -CrOS-FilesApp-Zip CrOSFilesFeature-Zip
Labels: -M-66 -CrOSFilesFeature-Zip M-67
Owner: ----
Status: Available (was: Assigned)
Labels: CrOSFilesFeature-Zip
This is not on zip files, but labeled as CrOSFilesFeature-Zip as it's related to features for archive files.
Punted to M-67 due to Pri-3.
Labels: -M-67

Sign in to add a comment