RCE in Avaya Aura Device Services
The report details two vulnerabilities in Avaya Aura Device Services: a reflected cross-site scripting (XSS) in the login page and a remote code execution (RCE) via WebDAV upload. An attacker could execute arbitrary code on the server by uploading a PHP file through the WebDAV endpoint after setting a specific User-Agent header.
Published on blog.assetnote.io
For those who haven’t had the pleasure, Avaya Aura is a (rather complicated) platform for managing IP phones. Today we’re going to be looking at Avaya Aura Device Services (AADS) component of the platform and detailing two vulnerabilities we found during our research.
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
The WebDAV endpoint was protected only by a User-Agent check, and the login page reflected user input without sanitisation.
Impact
An attacker could execute arbitrary code on the server, and the XSS could be used to run scripts in a victim's browser.
What the attacker needed
Network access to the AADS server; For XSS: victim clicks a crafted link; For RCE: ability to send HTTP requests with custom…
The fix
The vulnerabilities were fixed in a previous release according to Avaya, as noted in ACS-21519.
How it was found
- Extract the installation archive without running the script.
- Force install the RPM packages to get a filesystem resembling an AADS install.
- Decompile the Java applications and search for unsanitised output in JSP files.
- Identify the login.jsp page that reflects the 'error' parameter without validation.
- Craft a URL with a script payload in the 'error' parameter to trigger reflected XSS.
- Discover the WebDAV configuration and the User-Agent check.
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 two security holes in a phone management system. One lets an attacker run their own code on the server by pretending to be a phone and uploading a malicious file. The other lets an attacker inject a script into a login page, which could steal login details if a victim clicks a crafted link.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.