Crestron AirMedia AM-100 contains multiple vulnerabilities
Original Release date: 01 Aug 2016 | Last revised: 01 Aug 2016
The Crestron AirMedia AM-100 with firmware prior to version 22.214.171.124 is vulnerable to path traversal and command injection.
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-5640A 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 v126.96.36.199 – v1.2.1 are confirmed affected by the researcher. For more information see the researcher’s advisory one and advisory two.
An unauthenticated remote user may be able to access arbitrary files from the device filesystem, or execute arbitrary OS commands on the device.
Apply an updateCrestron has released firmware version 188.8.131.52 to address these issues. Affected users should update the firmware of their AM-100 as soon as possible.
Vendor Information (Learn More)
19 Jul 2016
If you are a vendor and your product is affected, let us know.
CVSS Metrics (Learn More)
Thanks to Zach Lanier of Cylance, Inc., for reporting this vulnerability.
This document was written by Garret Wassermann.
CVE IDs: CVE-2016-5639 CVE-2016-5640
Date Public: 01 Aug 2016
Date First Published: 01 Aug 2016
Date Last Updated: 01 Aug 2016
Document Revision: 19
If you have feedback, comments, or additional information about this vulnerability, please send us email.