Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in www.velocidex.com/golang/velociraptor: GHSA-g5vm-525q-r66c #1527

Closed
GoVulnBot opened this issue Feb 1, 2023 · 3 comments
Assignees
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.

Comments

@GoVulnBot
Copy link

In GitHub Security Advisory GHSA-g5vm-525q-r66c, there is a vulnerability in the following Go packages or modules:

Unit Fixed Vulnerable Ranges
www.velocidex.com/golang/velociraptor 0.6.7-5 < 0.6.7-5

Cross references:
No existing reports found with this module or alias.

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: www.velocidex.com/golang/velociraptor
    versions:
      - fixed: 0.6.7-5
    packages:
      - package: www.velocidex.com/golang/velociraptor
description: Rapid7 Velociraptor allows users to be created with different privileges
    on the server. Administrators are generally allowed to run any command on the
    server including writing arbitrary files. However, lower privilege users are generally
    forbidden from writing or modifying files on the server. The VQL copy() function
    applies permission checks for reading files but does not check for permission
    to write files. This allows a low privilege user (usually, users with the Velociraptor
    "investigator" role) to overwrite files on the server, including Velociraptor
    configuration files. To exploit this vulnerability, the attacker must already
    have a Velociraptor user account at a low privilege level (at least "analyst")
    and be able to log into the GUI and create a notebook where they can run the VQL
    query invoking the copy() VQL function. Typically, most users deploy Velociraptor
    with limited access to a trusted group (most users will be administrators within
    the GUI). This vulnerability is associated with program files https://github.Com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go
    https://github.Com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go and
    program routines copy(). This issue affects Velociraptor versions before 0.6.7-5.
    Version 0.6.7-5, released January 16, 2023, fixes the issue.
cves:
  - CVE-2023-0242
ghsas:
  - GHSA-g5vm-525q-r66c

@maceonthompson maceonthompson self-assigned this Feb 6, 2023
@maceonthompson maceonthompson added the excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module. label Feb 6, 2023
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/466475 mentions this issue: data/excluded: batch add GO-2023-1527, GO-2023-1524, GO-2023-1516, GO-2023-1514, GO-2023-1513, GO-2023-1511, GO-2023-1523, GO-2023-1522, GO-2023-1520, GO-2023-1512

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/592759 mentions this issue: data/reports: unexclude 75 reports

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/606782 mentions this issue: data/reports: unexclude 20 reports (2)

gopherbot pushed a commit that referenced this issue Aug 20, 2024
  - data/reports/GO-2023-1512.yaml
  - data/reports/GO-2023-1520.yaml
  - data/reports/GO-2023-1524.yaml
  - data/reports/GO-2023-1527.yaml
  - data/reports/GO-2023-1533.yaml
  - data/reports/GO-2023-1541.yaml
  - data/reports/GO-2023-1542.yaml
  - data/reports/GO-2023-1543.yaml
  - data/reports/GO-2023-1544.yaml
  - data/reports/GO-2023-1550.yaml
  - data/reports/GO-2023-1551.yaml
  - data/reports/GO-2023-1552.yaml
  - data/reports/GO-2023-1553.yaml
  - data/reports/GO-2023-1554.yaml
  - data/reports/GO-2023-1555.yaml
  - data/reports/GO-2023-1560.yaml
  - data/reports/GO-2023-1577.yaml
  - data/reports/GO-2023-1581.yaml
  - data/reports/GO-2023-1582.yaml
  - data/reports/GO-2023-1583.yaml

Updates #1512
Updates #1520
Updates #1524
Updates #1527
Updates #1533
Updates #1541
Updates #1542
Updates #1543
Updates #1544
Updates #1550
Updates #1551
Updates #1552
Updates #1553
Updates #1554
Updates #1555
Updates #1560
Updates #1577
Updates #1581
Updates #1582
Updates #1583

Change-Id: I6a2829acd39b6e598b81e8138e6d126128073198
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/606782
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.
Projects
None yet
Development

No branches or pull requests

3 participants