Moxa has a fix to handle multiple vulnerabilities in its Moxa AWK-3131A networking device, according to a report from Cisco Talos.

The AWK-3131A is a wireless networking device that is meant to be used in large-scale, industrial cases to provide communication across the environment in which it’s deployed. The device contains several different vulnerabilities an attacker could exploit to carry out malicious activities in an industrial environment that could lead to remote code execution and privilege escalation.

Talos tested and confirmed these vulnerabilities, discovered by Jared Rittle and Carl Hurd of Cisco Talos, affect the Moxa AWK-3131A, running firmware version 1.13.

Cisco Talos worked with Moxa to ensure these issues are resolved and that an update is available.

Schneider Bold

In one issue, an exploitable privilege escalation vulnerability (CVE-2019-5136) exists in the iw_console functionality where a specially crafted menu selection string can cause an escape from the restricted console, resulting in system access as the root user. An attacker can send commands while authenticated as a low privilege user to trigger this vulnerability.

In addition, the usage of hard-coded cryptographic keys within the ServiceAgent binary (CVE-2019-5137) allows for the decryption of captured traffic across the network from or to device.

Also, there is an encrypted diagnostic script command injection vulnerability (CVE-2019-5138) where a specially crafted diagnostic script file can cause arbitrary busybox commands to be executed, resulting in remote control over the device. An attacker can send diagnostic while authenticated as a low-privilege user to trigger this vulnerability.

In another issue, there are multiple iw_* utilities use of hard-coded credentials vulnerability (CVE-2019-5139) where the device operating system contains an undocumented encryption password, allowing for the creation of custom diagnostic scripts.

In addition, there is an iw_webs DecryptScriptFile file name command injection vulnerability (CVE-2019-5140) where a specially crafted diagnostic script file name can cause user input to be reflected in a subsequent iw_system call, resulting in remote control over the device. An attacker can send commands while authenticated as a low-privilege user to trigger this vulnerability.

In another issue, there is an iw_webs iw_serverip parameter command injection vulnerability (CVE-2019-5141) where a specially crafted iw_serverip parameter can cause user input to be reflected in a subsequent iw_system call, resulting in remote control over the device. An attacker can send commands while authenticated as a low-privilege user to trigger this vulnerability.

There is also a WAP hostname command injection vulnerability (CVE-2019-5142) where a specially crafted entry to network configuration information can cause the execution of arbitrary system commands, resulting in full control of the device. An attacker can send various authenticated requests to trigger this vulnerability.

There is another issue in the iw_console conio_writestr where there is a remote code execution vulnerability (CVE-2019-5143). In this case, a specially crafted time server entry can cause an overflow of the time server buffer, resulting in remote code execution. An attacker can send commands while authenticated as a low-privilege user to trigger this vulnerability.

In addition, there is a ServiceAgent denial-of-service vulnerability (CVE-2019-5148) where a specially crafted packet can cause an integer underflow, triggering a large memcpy that will access unmapped or out-of-bounds memory. An attacker can send this packet while unauthenticated to trigger this vulnerability.

In another vulnerability, there is an iw_webs user configuration remote code execution issue (CVE-2019-5153) where a specially crafted username entry can cause an overflow of an error message buffer, resulting in remote code execution. An attacker can send commands while authenticated as a low-privilege user to trigger this vulnerability.

There is also an iw_webs account settings improper access control vulnerability (CVE-2019-5162) where a specially crafted username entry can cause the overwrite of an existing user account password, resulting in remote shell access to the device as that user. An attacker can send commands while authenticated as a low-privilege user to trigger this vulnerability.

There is an iw_webs hostname authentication bypass vulnerability (CVE-2019-5165) where a specially configured device hostname can cause the device to interpret select remote traffic as local traffic, resulting in a bypass of web authentication. An attacker can send authenticated SNMP requests to trigger this vulnerability.

Pin It on Pinterest

Share This