Abstract
The Aruba Instant firmware contained multiple vulnerabilities, including argument injection in the captive portal logo upload and a race condition in the PAPI message handling, which together allowed an unauthenticated attacker to execute arbitrary commands as root on the device.
alephsecurity.com
Published on alephsecurity.com
Our journey begins one day at our office. We looked up to the ceiling and noticed access points, manufactured by Aruba, that provide us with network access.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the root cause is insufficient input validation and a lack of authentication on internal message passing, allowing command injection and race condition attacks.
Impact
An attacker could achieve unauthenticated remote code execution as root on affected Aruba access points, potentially compromising the entire network.
What the attacker needed
Network access to the device; ability to send crafted HTTP requests; ability to send UDP packets to port 8211
The fix
The vulnerabilities were fixed by Aruba in a software update.
How it was found
- Connect to the access point's jailed shell via SSH or Telnet.
- Issue the command 'apply cplogo-install' with a crafted URL containing wget arguments.
- Use the config opcode via swarm.cgi to execute the cplogo-install command from the web interface.
- Upload a file with a crafted name using the cp-upload opcode to create a malicious .gz file.
- Trigger the gunzip command injection by requesting the malicious file with a specific Accept-Encoding header.
- Exploit the race condition in process_msg_ref to read arbitrary files and obtain admin credentials.
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 write-up has not been written yet. The Original tab links to the source.
This report describes how researchers found several security flaws in Aruba wireless access points. By combining these flaws, an attacker could take full control of the device without needing a password. The flaws included ways to trick the device into running commands and a race condition that let attackers read sensitive files.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.