Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.graylog2/graylog2-server
  4. ›
  5. CVE-2023-41044

CVE-2023-41044: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

August 31, 2023 (updated September 6, 2023)

Graylog is a free and open log management platform. A partial path traversal vulnerability exists in Graylog’s Support Bundle feature. The vulnerability is caused by incorrect user input validation in an HTTP API resource. Graylog’s Support Bundle feature allows an attacker with valid Admin role credentials to download or delete files in sibling directories of the support bundle directory. The default data_dir in operating system packages (DEB, RPM) is set to /var/lib/graylog-server. The data directory for the Support Bundle feature is always <data_dir>/support-bundle. Due to the partial path traversal vulnerability, an attacker with valid Admin role credentials can read or delete files in directories that start with a /var/lib/graylog-server/support-bundle directory name. The vulnerability would allow the download or deletion of files in the following example directories: /var/lib/graylog-server/support-bundle-test and /var/lib/graylog-server/support-bundlesdirectory. For the Graylog Docker images, the data_dir is set to /usr/share/graylog/data by default. This vulnerability is fixed in Graylog version 5.1.3 and later. Users are advised to upgrade. Users unable to upgrade should block all HTTP requests to the following HTTP API endpoints by using a reverse proxy server in front of Graylog. GET /api/system/debug/support/bundle/download/{filename} and DELETE /api/system/debug/support/bundle/{filename}.

References

  • github.com/Graylog2/graylog2-server/commit/02b8792e6f4b829f0c1d87fcbf2d58b73458b938
  • github.com/Graylog2/graylog2-server/security/advisories/GHSA-2q4p-f6gf-mqr5
  • go2docs.graylog.org/5-1/making_sense_of_your_log_data/cluster_support_bundle.htm
  • nvd.nist.gov/vuln/detail/CVE-2023-41044

Code Behaviors & Features

Detect and mitigate CVE-2023-41044 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.1.0 before 5.1.3

Fixed versions

  • 5.1.3

Solution

Upgrade to version 5.1.3 or above.

Impact 3.8 LOW

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.graylog2/graylog2-server/CVE-2023-41044.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:55 +0000.