IP-Spoofing for unallocated IPs

Bug #1729815 reported by Assen Tarlov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
High
sangarshan p

Bug Description

Assign of a secondary ip to any instance in a network (same subnet) will work without adding "allowed address pairs"

e.g.
I have a 2 instances in my 10.0.0.1/24 network:
10.0.0.2 & 10.0.0.3
If I add another ip on one of the hosts which has not been allocated as an interface e.g.:
" ip a a 10.0.0.4/32 dev eth0"
I will be able to ping it from the other host.

Assumption is that it will only have work if there was an "allowed address pair" on the neutron port.

Customer is not able to take an IP for an instance which does exist but this seems unintended behavior.

Contrail version: contrail 3.2.1.0-26.el7.centos.x86_64

Reverse Path Forwarding is set to enabled

Revision history for this message
Assen Tarlov (atarlov) wrote :
Revision history for this message
Assen Tarlov (atarlov) wrote :

PCAP

send: this will ping from 10.41.0.24 to 10.41.0.44

Revision history for this message
Assen Tarlov (atarlov) wrote :

PCAP

receive: this is the instance that hosts 10.41.0.44, added by doing a "sudo ip addr a 10.41.0.44/32 dev eth0"

Revision history for this message
Assen Tarlov (atarlov) wrote :

PCAP

receive: this is the instance that hosts 10.41.0.44, added by doing a "sudo ip addr a 10.41.0.44/32 dev eth0"

Rudra Rugge (rrugge)
information type: Proprietary → Public
Assen Tarlov (atarlov)
Changed in juniperopenstack:
importance: Undecided → Medium
importance: Medium → High
tags: added: vrouter
Revision history for this message
Hari Prasad Killi (haripk) wrote :

Issue was seen when AAP configuration with the same subnet (/26) was configured on another interface present in a different compute node. An address from this subnet when used in a different VMI is being allowed. Needs to be investigated further.

Issue seen on 3.2.1-build 26.

Revision history for this message
Sivakumar Ganapathy (hotlava51) wrote :
Download full text (15.5 KiB)

Adding the email thread for reference.

From: Sivakumar Ganapathy <email address hidden>
Date: Monday, August 13, 2018 at 9:27 AM
To: Dan Solis <email address hidden>, Assen Tarlov <email address hidden>, Raghunandan Srinivasan <email address hidden>, Jeba Paulaiyan <email address hidden>, Ganesha H V <email address hidden>, Michael Henkel <email address hidden>, Sreelakshmi Sarva <email address hidden>, DP Ayyadevara <email address hidden>
Cc: support-private <email address hidden>, contrail ebay <email address hidden>, Sudheendra Rao <email address hidden>, Antoine Sibout <email address hidden>, Vivekananda Shenoy <email address hidden>, eBay-Account-Team <email address hidden>
Subject: Re: 2017-0808-0319 - Updated - EBAY CLASSIFIEDS - EMEA - - IP "spoofing" seems to work for unallocated IPs

We have not been able to spend time on this due to multiple customer issues. We will get to it as soon as some cycles free up. Don’t have an ETA as of now.

Thanks,
Sivakumar

From: Dan Solis <email address hidden>
Date: Monday, 13 August 2018 at 9:16 PM
To: Assen Tarlov <email address hidden>, Raghunandan Srinivasan <email address hidden>, Jeba Paulaiyan <email address hidden>, Ganesha H V <email address hidden>, Michael Henkel <email address hidden>, Sreelakshmi Sarva <email address hidden>, DP Ayyadevara <email address hidden>
Cc: support-private <email address hidden>, contrail ebay <email address hidden>, Sudheendra Rao <email address hidden>, Sivakumar Ganapathy <email address hidden>, Antoine Sibout <email address hidden>, Vivekananda Shenoy <email address hidden>, eBay-Account-Team <email address hidden>
Subject: Re: 2017-0808-0319 - Updated - EBAY CLASSIFIEDS - EMEA - - IP "spoofing" seems to work for unallocated IPs

Hi Michael/Sree/DP,

Can we get help in resolving the patch issue, eBay has been waiting since last year, and since Manish left it lost traction. We need to close this case out soon.

Thanks

Dan

From: Assen Tarlov <email address hidden>
Date: Monday, August 13, 2018 at 5:27 AM
To: Raghunandan Srinivasan <email address hidden>, Jeba Paulaiyan <email address hidden>, Vivekananda Shenoy <email address hidden>, Ganesha H V <email address hidden>
Cc: support-private <email address hidden>, contrail ebay <email address hidden>, Sudheendra Rao <email address hidden>, Sivakumar Ganapathy <email address hidden>, Dan Solis <email address hidden>
Subject: RE: 2017-0808-0319 - Updated - EBAY CLASSIFIEDS - EMEA - - IP "spoofing" seems to work for unallocated IPs

+ Dan

From: Assen Tarlov
Sent: Monday, August 13, 2018 8:24 AM
To: Raghunandan Srinivasan <email address hidden>; Jeba Paulaiyan <email address hidden>; Vivekananda Shenoy <email address hidden>; Ganesha H V <email address hidden>
Cc: support-private <email address hidden>; contrail ebay <email address hidden>; Sudheendra Rao <email address hidden>; Sivakumar Ganapathy <email address hidden>
Subject: RE: 2017-0808-0319 - Updated - EBAY CLASSIFIEDS - EMEA - - IP "spoofing" seems to work for unallocated IPs

Raghu/Siva,

Can we provide the patched module ? as well the explanation of the changes.

In the call ...

tags: added: customer ebay
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/46229
Submitter: Ashok Singh (<email address hidden>)

Revision history for this message
Sivakumar Ganapathy (hotlava51) wrote :

Awaiting customer verification of the fix before commit. Hence moving to 5.1.0.

Update as of 24-Sep

===========
Siva,

I am waiting as well for info from customer. The latest Info I have is that the eBay Engineer working on it, is on PTO

“ we're currently on an offsite and i'll be on pto for the next two week, but we will try to test this as soon as possible.”

I will update you if I get an info

Regards,
Assen

=========

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.