1. CVE archive
  2. 2017
  3. CVE-2017-9389

CVE-2017-9389

8.8 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 8.8 – High

Description

An issue was discovered on Vera VeraEdge 1.7.19 and Veralite 1.7.481 devices. The device provides a web user interface that allows a user to manage the device. As a part of the functionality the device allows a user to install applications written in the Lua programming language. Also the interface allows any user to write his/her application in the Lua language. However, this functionality is not protected by authentication and this allows an attacker to run arbitrary Lua code on the device. The POST request is forwarded to LuaUPNP daemon on the device. This binary handles the received Lua code in the function "LU::JobHandler_LuaUPnP::RunLua(LU::JobHandler_LuaUPnP *__hidden this, LU::UPnPActionWrapper *)". The value in the "code" parameter is then passed to the function "LU::LuaInterface::RunCode(char const*)" which actually loads the Lua engine and runs the code.

Affected products

VendorProductVersionPlatform
getvera veraedge firmware <= 1.7.19 –
getvera veralite firmware <= 1.7.481 –
All 12 Getvera Veraedge Firmware vulnerabilities

Vulnerability type

CWE-287 Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Read Application Data, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands
This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code.

How to prevent it

Architecture and Design · Libraries or Frameworks Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

All 5,304 CWE-287 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org