Lucene search

K
cve[email protected]CVE-2023-0290
HistoryJan 18, 2023 - 10:15 p.m.

CVE-2023-0290

2023-01-1822:15:10
CWE-22
web.nvd.nist.gov
39
cve-2023-0290
rapid7 velociraptor
directory traversal
api
security vulnerability
nvd
cve

4.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

4.5 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

27.5%

Rapid7 Velociraptor did not properly sanitize the client ID parameter to the CreateCollection API, allowing a directory traversal in where the collection task could be written. It was possible to provide a client id of β€œβ€¦/clients/server” to schedule the collection for the server (as a server artifact), but only require privileges to schedule collections on the client.

Normally, to schedule an artifact on the server, the COLLECT_SERVER permission is required. This permission is normally only granted to β€œadministrator” role. Due to this issue, it is sufficient to have the COLLECT_CLIENT privilege, which is normally granted to the β€œinvestigator” role.
To exploit this vulnerability, the attacker must already have a Velociraptor user account at least β€œinvestigator” level, andΒ be able to authenticate to the GUI and issue an API call to the backend. Typically, most users deploy Velociraptor with limited access to a trusted group, and most users will already be administrators within the GUI.

This issue affects Velociraptor versions before 0.6.7-5. Version 0.6.7-5, released January 16, 2023, fixes the issue.

Affected configurations

NVD
Node
rapid7velociraptorRange<0.6.7-5

CNA Affected

[
  {
    "collectionURL": "https://github.com/Velocidex/velociraptor/releases",
    "defaultStatus": "unaffected",
    "modules": [
      "CreateCollection API"
    ],
    "packageName": "Velociraptor",
    "platforms": [
      "Windows",
      "Linux",
      "MacOS",
      "64 bit",
      "32 bit"
    ],
    "product": "Velociraptor",
    "programFiles": [
      "https://github.com/Velocidex/velociraptor/blob/master/services/launcher/launcher.go"
    ],
    "programRoutines": [
      {
        "name": "ScheduleArtifactCollection()"
      }
    ],
    "repo": "https://github.com/Velocidex/velociraptor/",
    "vendor": "Rapid7",
    "versions": [
      {
        "changes": [
          {
            "at": "5",
            "status": "unaffected"
          }
        ],
        "lessThan": "0.6.7-5",
        "status": "affected",
        "version": "0",
        "versionType": "semver"
      }
    ]
  }
]

4.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

4.5 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

27.5%

Related for CVE-2023-0290