Asus RT-AX82U cfg_server cm_processConnDiagPktList denial of service vulnerability
The router's configuration service fails to check that a received UDP packet is at least 12 bytes long, so a shorter packet causes a length calculation to underflow. An attacker can send a specially crafted packet to crash the service, resulting in denial of service.
Originally disclosed on Cisco Talos
A denial of service vulnerability exists in the cfgserver cmprocessConnDiagPktList opcode of Asus RT-AX82U 3.0.0.4.38649674-ge182230 router’s configuration service. A specially-crafted network packet can lead to denial of service.
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 code does not verify that the received packet length is at least 12 bytes before subtracting 12, causing an integer underflow that leads to an out-of-bounds read.
Impact
An attacker can crash the configuration service, causing a denial of service; the CVSS score is 7.5 with high availability impact.
What the attacker needed
Network access to UDP port 7788
The fix
The code should check that the received packet length is at least 12 bytes before subtracting 12.
How it was found
- Send a UDP packet to port 7788 with the first four bytes set to the opcode for the ConnDiag response handler.
- Ensure the packet is only 8 bytes long, so the length field underflows and the CRC field is zero.
- The service processes the packet and calls the decryption routine with the underflowed length.
- The decryption routine reads beyond the buffer and crashes the service.
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.
A router runs a background service that listens for network messages. The service does not check how short a message can be, so a tiny message can make it read far beyond the intended data and crash. This stops the service from working, which is a denial of service.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.