CVE-2017-9392

An issue was discovered on Vera VeraEdge 1.7.19 and Veralite 1.7.481 devices. The device provides UPnP services that are available on port 3480 and can also be accessed via port 80 using the url "/port_3480". It seems that the UPnP services provide "request_image" as one of the service actions for a normal user to retrieve an image from a camera that is controlled by the controller. It seems that the "res" (resolution) parameter passed in the query string is not sanitized and is stored on the stack which allows an attacker to overflow the buffer. The function "LU::Generic_IP_Camera_Manager::REQ_Image" is activated when the lu_request_image is passed as the "id" parameter in the query string. This function then calls "LU::Generic_IP_Camera_Manager::GetUrlFromArguments". This function retrieves all the parameters passed in the query string including "res" and then uses the value passed in it to fill up buffer using the sprintf function. However, the function in this case lacks a simple length check and as a result an attacker who is able to send more than 184 characters can easily overflow the values stored on the stack including the $RA value and thus execute code on the device.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:getvera:veraedge_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:getvera:veraedge:-:*:*:*:*:*:*:*

Configuration 2 (hide)

AND
cpe:2.3:o:getvera:veralite_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:getvera:veralite:-:*:*:*:*:*:*:*

History

No history.

Information

Published : 2019-06-17 21:15

Updated : 2024-02-04 20:20


NVD link : CVE-2017-9392

Mitre link : CVE-2017-9392

CVE.ORG link : CVE-2017-9392


JSON object : View

Products Affected

getvera

  • veraedge
  • veraedge_firmware
  • veralite_firmware
  • veralite
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer