Skip to content
RCE Write-up Intermediate

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.

Dylan Pindur Follow

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.

Dylan Pindur, on blog.assetnote.io

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

  1. Extract the installation archive without running the script.
  2. Force install the RPM packages to get a filesystem resembling an AADS install.
  3. Decompile the Java applications and search for unsanitised output in JSP files.
  4. Identify the login.jsp page that reflects the 'error' parameter without validation.
  5. Craft a URL with a script payload in the 'error' parameter to trigger reflected XSS.
  6. 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.

More by Dylan Pindur

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.