Product Description
The Akkadian Console Server used a hard-coded encryption key for sessions and stored credentials, letting an attacker forge an admin session, and its certificate generation ran unsanitised user input in a shell command. Together, an unauthenticated attacker could gain root command execution on the appliance.
rapid7.com
Published on rapid7.com
Over the course of routine security research, Rapid7 researchers Jonathan Peterson, Cale Black, William Vu, and Adam Cammack discovered that the Akkadian Console (often referred to as "ACO") version 4.7, a call manager solution, is affected by two vulnerabilities. The first, CVE-2021-35468, allows root system command…
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 a static encryption key embedded in the application for session and credential data, plus unsanitised request parameters concatenated into an openssl command run through bash.
Impact
An unauthenticated attacker could forge an admin session and then execute operating system commands as root, potentially installing malicious software; the text notes that in newer versions the Authorization header is validated, so the command injection alone needs an authenticated user.
What the attacker needed
Network access to the web interface; ability to obtain acoserver.dll; for command injection alone, an authenticated account
The fix
The issues were fixed in version 4.9, and until upgrading the web interface should only be exposed to trusted networks.
How it was found
- Decompile acoserver.dll and find the static encryption key used by the TokenService.
- Decrypt a session token to see the fields it contains.
- Craft a new encrypted session token with arbitrary values and a recent timestamp.
- Use the forged token to reach restricted endpoints and retrieve encrypted passwords.
- Send a POST request to the certificate generation endpoint with shell metacharacters in the form fields.
- The server runs the injected command and returns a shell.
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.
A hard-coded key is a secret built into the software that is the same on every copy, so anyone who extracts it can read or create protected data such as login sessions. Separately, the certificate form passed user text straight into a system command, so special characters could make the server run extra commands. Chaining the two let someone with no account act as an administrator and then run commands as the root user.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.