Mikrotik RouterOS VXLAN Source IP Improper Access Control Vulnerability
The VXLAN implementation in Mikrotik RouterOS failed to check the source IP address of incoming VXLAN packets against configured allowed addresses. An unauthenticated remote attacker could send crafted VXLAN traffic to reach internal network resources.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass access restrictions on affected installations of Mikrotik RouterOS. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the VXLAN ingress path did not compare the packet's source IP address with the configured remote peer list before forwarding traffic into the internal network.
Impact
An unauthenticated attacker could gain access to internal network resources that should only be reachable through the tunnel.
What the attacker needed
Network reachability to the VXLAN endpoint; no authentication needed
The fix
The vendor fixed the issue in RouterOS v7.20 by adding validation of the remote IP address against configured values.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
VXLAN is a way to stretch a private network across the internet by wrapping normal network packets inside extra headers. This router was supposed to accept those wrapped packets only from approved addresses, but it did not check the sender. So anyone who could send such packets could pretend to be part of the internal network and reach machines that should be hidden.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.