CHECK failure: message->size() <= Channel::kMaximumMessageSize in ipc_channel_proxy.cc
Reported by
dibyendu...@gmail.com,
Dec 15 2017
|
|||||
Issue descriptionThis template is ONLY for reporting security bugs. If you are reporting a Download Protection Bypass bug, please use the "Security - Download Protection" template. For all other reports, please use a different template. Please READ THIS FAQ before filing a bug: https://chromium.googlesource.com /chromium/src/+/master/docs/security/faq.md Please see the following link for instructions on filing security bugs: https://www.chromium.org/Home/chromium-security/reporting-security-bugs NOTE: Security bugs are normally made public once a fix has been widely deployed. VULNERABILITY DETAILS A certain javascript code crashes and disconnect the developer tools as well as the html display and makes it unresponsive and stops the rendering process VERSION Chrome Version: 62.0.3202.94 (Official Build) (64-bit) Operating System: Windows 10 REPRODUCTION CASE 1.Open Any tab and start the developer console by pressing Ctrl+Shift+J or open it from the menu. More Tools -> Developer tools 2.Once it opens, go to the console tab and write this single line of code and press enter var a = new Array(999999999); 3. Now type the following code and press enter a+1 4. You will find an error message "Debugging connection was closed. Reason render process is gone. The whole page will crash 5. The dev tools wont be able to connect even when you try connecting it. Also Check the Video for PoC demo FOR CRASHES, PLEASE INCLUDE THE FOLLOWING ADDITIONAL INFORMATION Type of crash: developer console
,
Dec 15 2017
I think this is fundamentally the same sort of issue as Issue 740214 , making it a functional problem rather than a security issue. The JavaScript code attempts to allocate a gigabyte of memory and the tab crashes, likely due to memory exhaustion. The developer tools lose their connection to the dead render process. If you visit chrome://crashes, can you share the "Uploaded Crash Report ID" from the crashing render process so we can verify?
,
Dec 15 2017
ClusterFuzz is analyzing your testcase. Developers can follow the progress at https://clusterfuzz.com/testcase?key=5105937148018688.
,
Dec 15 2017
Fixing my test case (to work in-page) corroborates that this appears to just be an OOM crash. I added it to clusterfuzz just to double check there.
,
Dec 15 2017
Automatically applying components based on crash stacktrace and information from OWNERS files. If this is incorrect, please apply the Test-Predator-Wrong-Components label.
,
Dec 16 2017
,
Dec 18 2017
I would bet this is a simple OOM. Not sure why JavaScript Array constructor hits Blink's Vector constructor, though.
,
Dec 18 2017
Yeah, if this is just an OOM, then I'd comfortable marking it as functional bug rather than a security bug. On a separate note, the console.log() version (from my clusterfuzz test case) would point to crbug.com/772468 as one potential security consequence. But that seems like a more general concern than this specific OOM.
,
Dec 19 2017
CF is hitting a FATAL:ipc_channel_proxy.cc(540)] Check failed: message->size() <= Channel::kMaximumMessageSize (2000000188 vs. 134217728) which would be a functional issue. Marking as such along the lines of the discussion.
,
Dec 26 2017
I came up with one more exploit. 1. Open a new tab 2. Load this JS Fiddle page containing the exploit code https://jsfiddle.net/wmacx4zd/2/ 3. Tab Crashed
,
Dec 26 2017
Video POC of the exploit
,
Dec 26 2017
Javascript Code Written Inside JS Code Area in JSFiddle var a = new Array(999999999); console.log(a+1); console.log(a+1); console.log(a=a+1); console.log(a=a+1);
,
Jan 10 2018
Any update on this issue ?
,
Feb 12 2018
Any update on this issue ?
,
Jul 30
Detailed report: https://clusterfuzz.com/testcase?key=5105937148018688 Job Type: linux_asan_chrome_mp Crash Type: CHECK failure Crash Address: Crash State: message->size() <= Channel::kMaximumMessageSize in ipc_channel_proxy.cc IPC::ChannelProxy::SendInternal IPC::SyncChannel::Send Sanitizer: address (ASAN) Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5105937148018688 See https://github.com/google/clusterfuzz-tools for more information. Note: This crash might not be reproducible with the provided testcase. That said, for the past 14 days we've been seeing this crash frequently. If you are unable to reproduce this, please try a speculative fix based on the crash stacktrace in the report. The fix can be verified by looking at the crash statistics in the report, a day after the fix is deployed. We will auto-close the bug if the crash is not seen for 14 days.
,
Oct 4
This issue can be reproduced in Version 69.0.3497.100 (Official Build) (64-bit) , Windows 10 |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by cthomp@chromium.org
, Dec 15 2017Labels: Security_Severity-Low Security_Impact-Stable OS-Android OS-Chrome OS-Fuchsia OS-Linux OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)