SecurityContext

CVE-2017-9391: Vera VeraEdge & Veralite - Buffer Overflow

  • Cve: CVE-2017-9391
  • Name: Vera VeraEdge & Veralite - Buffer Overflow
  • Description: 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 "URL" 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 query string. This function then calls "LU::Generic_IP_Camera_Manager::GetUrlFromArguments" and passes a "pointer" to the function where it will be allowed to store the value from the URL parameter. This pointer is passed as the second parameter $a2 to the function "LU::Generic_IP_Camera_Manager::GetUrlFromArguments". However, neither the callee or the caller in this case performs a simple length check and as a result an attacker who is able to send more than 1336 characters can easily overflow the values stored on the stack including the $RA value and thus execute code on the device.
  • Impact: Attackers can execute arbitrary code on the device, potentially leading to full device compromise or control.
  • Remediation: Update to the latest firmware version provided by the vendor that addresses this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04082
  • Epss percentile: 0.90967
  • Assignee: [email protected]
  • Published at: 2019-06-17T21:15:09Z
  • Age in days: 2717
  • Modified at: 2026-06-17T01:28:01Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-9391
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Vera_sec_issues.pdfnvd2019-06-17

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Vera_sec_issues.pdfExploit, Third Party Advisory
http://packetstormsecurity.com/files/153242/Veralite-Veraedge-Router-XSS-Command-Injection-CSRF-Traversal.htmlThird Party Advisory, VDB Entry
https://seclists.org/bugtraq/2019/Jun/8Mailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
getvera:veraedge_firmware<= 1.7.19yesnvd/v1/products/getvera/veraedge_firmware
getvera:veralite_firmware<= 1.7.481yesnvd/v1/products/getvera/veralite_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2019-06-17
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts