
攻击WIFI的常用方式
A common way to attack WIFI, not only applicable to Xinrui (a subsidiary of Sangfor) WIFI products. Through multiple offensive and defensive engagements, it has been found that this exploitation method can bypass multiple AC vendors.
English: https://github.com/fengchenzxc/CVE-2020-28148/blob/main/CVE-2020-28148(English).md

This scenario involves Xinrui (wholly-owned subsidiary of Sangfor) AP3600 and AC6600, with the portal authentication system and AC management web system both updated to the latest versions. Other products have not been tested.
The WIFI distribution is shown in the figure. WIFIs starting with "office" are office WIFIs, among which:
Connect to the WIFI "office-xxxx" with a password. Current IP is 10.3.163.121, MAC address is 3C-22-FB-07-A4-CA.

At this point, accessing any page redirects to the internal employee authentication interface:

Scan the current subnet and discover a host as follows:

Modify the local MAC address: sudo ifconfig en0 ether A4:C3:F0:C3:9C:B8
Check the current address; the IP is automatically assigned to 10.3.163.210.

Now access the WIFI authentication interface. It is found that the portal authentication has been bypassed and login is successful, granting access to the internal network!

More critically, when connecting to the office-guest open guest WIFI (which does not require a password), an attacker can also scan the subnet and modify the MAC address to bypass authentication.

Modify the MAC address:
sudo ifconfig en0 ether 38:BA:F8:32:5C:F8

