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

Issue 598312 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Security



Sign in to add a comment

Security: ChromeOS accepts ICMP redirects

Reported by eternalg...@gmail.com, Mar 28 2016

Issue description

VULNERABILITY DETAILS
Chromeos accepts ICMP redirects, ICMP redirects are not needed for chromebooks.
They are laptops not servers/routers. Accepting ICMP Redirects can alter the Routing Table, this can be used by a Malicious Hacker to get access to sensitive information. 

VERSION
ChromeOS Version: Current Stable
Operating System: ChromeOS

REPRODUCTION CASE
An attacker sends a malicious ICMP redirect, the chromebook accepts it and alters its routing table, therefore the attacker can now manipulate the chromebooks routing. This can be used for MITM attacks etc.

MITIGATION
Execute the following command:
/bin/echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects

Or set the following to 0 in /etc/sysctl.conf
net.ipv4.conf.all.accept_redirects = 0
net.ipv6.conf.all.accept_redirects = 0

 

Comment 1 by wfh@chromium.org, Mar 28 2016

Cc: rickyz@chromium.org jln@chromium.org davidben@chromium.org
Components: Internals>Network
Labels: Security_Severity-Low Security_Impact-Stable OS-Chrome Pri-2
Owner: mdempsky@chromium.org
Status: Assigned (was: Unconfirmed)
mdempsky is this is something we should consider doing for CrOS?
If this will be fixed then you should consider mitigating SMURF attacks too.
You can do that by setting "net.ipv4.icmp_echo_ignore_broadcasts = 0" in /etc/sysctl.conf.

Kind Regards,

Jordy Zomer

Cc: vapier@chromium.org mdempsky@chromium.org
Owner: vapier@chromium.org
Those both seem like worthwhile things to fix, assuming we haven't intentionally enabled them for some reason.

Relatedly, see b/19977811 (Googlers only, sorry).

vapier/smbarber: Looks like you two were last to touch chromiumos-overlay/chromeos-base/chromeos-base. Can one of you look into this?

Comment 4 by vapier@chromium.org, Mar 28 2016

Owner: olofj@chromium.org
this was already fixed about a month ago via b/27219551:
  https://chromium-review.googlesource.com/327598
How about the smurf attack, has that been mitigated?

Kind Regards,

Jordy Zomer

Comment 6 by olofj@chromium.org, Mar 28 2016

Yeah, redirects were fixed.

Jordy: Feel free to open a new bug and cc me for comment #2, closing this one since original issue has been resolved.

Comment 7 by olofj@chromium.org, Mar 28 2016

Status: Fixed (was: Assigned)
Oh, I missed b/27219551 / CL 327598. Thanks!

It looks like the CL for b/19977811 was more comprehensive (e.g., it also addressed the concern about SMURF attacks from Comment 2 above).  Should we consider making that the default on CrOS?

Comment 9 by wfh@chromium.org, Mar 28 2016

 Issue 598370  has been merged into this issue.

Comment 10 by olofj@chromium.org, Mar 28 2016

Owner: wfh@chromium.org

Comment 11 by olofj@chromium.org, Mar 28 2016

Status: Assigned (was: Fixed)
Since Will duped the bug I explicitly asked to be opened, I presume he wants to own this side of it. 
Labels: -Restrict-View-SecurityTeam
Thank you for informing me, glad it got fixed.

Kind Regards,

Jordy Zomer
Labels: VerifyIn-53
Labels: VerifyIn-54
Project Member

Comment 17 by sheriffbot@chromium.org, Oct 1 2016

This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 18 by sheriffbot@chromium.org, Oct 1 2016

Labels: Restrict-View-SecurityNotify
Project Member

Comment 19 by sheriffbot@chromium.org, Oct 2 2016

Labels: -Restrict-View-SecurityNotify
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: allpublic
Labels: VerifyIn-55

Comment 22 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 23 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 24 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 25 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 26 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 28 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment