Vulnerability Note VU#603047

Crestron AirMedia AM-100 contains multiple vulnerabilities

Original Release date: 01 Aug 2016 | Last revised: 02 Aug 2016

Overview

The Crestron AirMedia AM-100 with firmware prior to version 1.4.0.13 is vulnerable to path traversal and command injection.

Description

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - CVE-2016-5639


A path traversal vulnerability exists in login.cgi (and possibly other binaries in the /home/boa/cgi-bin directory) on the AM-100 embedded web server. The src GET parameter passed to login.cgi specifies the relative path to a file for rendering, such as AwLoginDownload.html. However, the value of this parameter can specify an arbitrary path on the AM-100 filesystem.

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - CVE-2016-5640

A command injection vulnerability exists in rftest.cgi on the AM-100 embedded web server. The ATE_COMMAND POST parameter specifies the path to a command for the underlying OS to execute. By default, the value of this parameter is /sbin/iwpriv; however, the value of this parameter can be a relative or absolute path to any arbitrary command on the underlying OS.

Crestron AirMedia AM-100 firmware v1.1.1.11 - v1.2.1 are confirmed affected by the researcher. For more information see the researcher's advisory one and advisory two.

Impact

An unauthenticated remote user may be able to access arbitrary files from the device filesystem, or execute arbitrary OS commands on the device.

Solution

Apply an update

Crestron has released firmware version 1.4.0.13 to address these issues. Affected users should update the firmware of their AM-100 as soon as possible.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
Crestron ElectronicsAffected-19 Jul 2016
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C
Temporal 8.3 E:F/RL:OF/RC:C
Environmental 6.2 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to Zach Lanier of Cylance, Inc., for reporting this vulnerability.

This document was written by Garret Wassermann.

Other Information

  • CVE IDs: CVE-2016-5639 CVE-2016-5640
  • Date Public: 01 Aug 2016
  • Date First Published: 01 Aug 2016
  • Date Last Updated: 02 Aug 2016
  • Document Revision: 22

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.