RCE in AirOS 6.2.0 Devices with CSRF bypass
Certain end-points in AirOS 6.2.0 and prior are vulnerable to command injection because an input string can bypass the filter and still contain commands, leading to remote code execution. These flaws can be paired with XSS and CSRF end-points to modify configuration, upload arbitrary firmware, and exfiltrate files and tokens.
- Triaged in 13 days
- Fixed in 7 months
- Paid in 13 days
- Disclosed after 9 months
Summary by the program
There are certain end-points containing functionalities that are vulnerable to command injection. It is possible to craft an input string that passes the filter check but still contains commands, resulting in remote code execution. These vulnerabilities can be also can be also paired with other end points vulnerable with XSS and CSRF, allowing attacker to perform different actions, including modify configuration, upload arbitrary firmware, exfiltrate files and tokens. These vulnerabilities were found on AirMax AirMax AirOS v6.2.0 and prior versions for TI, XW and XM boards.
The fix for these vulnerabilities were included in the new version of AirMax AirOS firmware v6.3.0 for TI, XW and XM boards. For more details please visit: https://community.ui.com/releases/airMAX-M-v6-3-0/c8d5dec9-4030-4d7e-b23f-6a5b35ed3d83
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 input filter does not properly sanitise command separators or encoding, allowing injected commands to pass through.
Impact
An attacker could execute arbitrary commands, modify configuration, upload firmware, and exfiltrate files and tokens, especially when chained with XSS and CSRF.
What the attacker needed
Access to vulnerable end-points; ability to bypass filter; possibly CSRF/XSS for chaining
The fix
The vulnerabilities were fixed in AirOS firmware v6.3.0.
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.
Command injection is when user input is run as a system command. Here the filter could be bypassed, so an attacker could run commands on the device.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.