Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-f729-58x4-gqgf: CometVisu Backend for openHAB affected by RCE through path traversal

CometVisu’s file system endpoints don’t require authentication and additionally the endpoint to update an existing file is susceptible to path traversal. This makes it possible for an attacker to overwrite existing files on the openHAB instance. If the overwritten file is a shell script that is executed at a later time this vulnerability can allow remote code execution by an attacker.

This vulnerability was discovered with the help of CodeQL’s Uncontrolled data used in path expression query.

Impact

This issue may lead up to Remote Code Execution (RCE).

ghsa
#vulnerability#web#git#java#rce#auth#maven
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2024-42469

CometVisu Backend for openHAB affected by RCE through path traversal

Critical severity GitHub Reviewed Published Aug 9, 2024 in openhab/openhab-webui • Updated Aug 9, 2024

Package

maven org.openhab.ui.bundles:org.openhab.ui.cometvisu (Maven)

Affected versions

<= 4.2.0

CometVisu’s file system endpoints don’t require authentication and additionally the endpoint to update an existing file is susceptible to path traversal. This makes it possible for an attacker to overwrite existing files on the openHAB instance. If the overwritten file is a shell script that is executed at a later time this vulnerability can allow remote code execution by an attacker.

This vulnerability was discovered with the help of CodeQL’s Uncontrolled data used in path expression query.

Impact

This issue may lead up to Remote Code Execution (RCE).

References

  • GHSA-f729-58x4-gqgf
  • openhab/openhab-webui@630e852

Published to the GitHub Advisory Database

Aug 9, 2024

ghsa: Latest News

GHSA-hqmp-g7ph-x543: TunnelVision - decloaking VPNs using DHCP