-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 21bbdaf
Showing
3,343 changed files
with
628,420 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Contact: security@rapid7.com | ||
Encryption: https://keybase.io/rapid7/pgp_keys.asc?fingerprint=9a90aea0576cbcafa39c502ba5e16807959d3eda | ||
Preferred-Languages: en | ||
Canonical: https://www.rapid7.com/.well-known/security.txt | ||
Policy: https://www.rapid7.com/security/disclosure/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!doctype html><html lang=en class="js csstransforms3d"><head><meta charset=utf-8><meta name=description content><link rel=icon href=/images/favicon.png type=image/png><title>404 Page not found</title> | ||
<link href=/css/nucleus.css?1740542449 rel=stylesheet><link href=/css/fontawesome-all.min.css?1740542449 rel=stylesheet><link href=/css/hybrid.css?1740542449 rel=stylesheet><link href=/css/featherlight.min.css?1740542449 rel=stylesheet><link href=/css/perfect-scrollbar.min.css?1740542449 rel=stylesheet><link href=/css/theme.css?1740542449 rel=stylesheet><link href=/css/hugo-theme.css?1740542449 rel=stylesheet><link href=/css/theme-mine.css?1740542449 rel=stylesheet><style>:root #header+#content>#left>#rlblock_left{display:none!important}p,li,ul{text-align:center}ul{list-style-type:none}</style><script async src="https://www.googletagmanager.com/gtag/js?id=G-QYH72LMYCS"></script><script>var dnt,doNotTrack=!1;if(!1&&(dnt=navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack,doNotTrack=dnt=="1"||dnt=="yes"),!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-QYH72LMYCS")}</script><script></script></head><body data-url=/><section id=body style=margin-left:0><div id=overlay></div><div id=chapter><div id=body-inner><h1>Error</h1><p></p><p>Woops. Looks like this page doesn't exist ¯\_(ツ)_/¯.</p><p></p><p><a href=/>Go to homepage</a></p><p><img src=/images/velo_small.svg style=width:50% alt="Page not found!"></p></div></div></section></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docs.velociraptor.app |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
193 changes: 193 additions & 0 deletions
193
announcements/advisories/cve-2023-0242/CVE-2023-0242.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
{ | ||
"containers": { | ||
"cna": { | ||
"affected": [ | ||
{ | ||
"collectionURL": "https://github.com/Velocidex/velociraptor/releases", | ||
"defaultStatus": "unaffected", | ||
"modules": [ | ||
"VQL copy() function" | ||
], | ||
"packageName": "Velociraptor", | ||
"platforms": [ | ||
"Linux", | ||
"Windows", | ||
"MacOS", | ||
"64 bit", | ||
"32 bit" | ||
], | ||
"product": "Velociraptor", | ||
"programFiles": [ | ||
"https://github.com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go" | ||
], | ||
"programRoutines": [ | ||
{ | ||
"name": "copy()" | ||
} | ||
], | ||
"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" | ||
} | ||
] | ||
} | ||
], | ||
"configurations": [ | ||
{ | ||
"lang": "en", | ||
"supportingMedia": [ | ||
{ | ||
"base64": false, | ||
"type": "text/html", | ||
"value": "Velociraptor deployment with multiple users at lower roles than administrators (e.g. \"investigator\" and above)" | ||
} | ||
], | ||
"value": "Velociraptor deployment with multiple users at lower roles than administrators (e.g. \"investigator\" and above)" | ||
} | ||
], | ||
"credits": [ | ||
{ | ||
"lang": "en", | ||
"type": "reporter", | ||
"user": "00000000-0000-4000-9000-000000000000", | ||
"value": "Paul Alkemade from Telstra" | ||
} | ||
], | ||
"datePublic": "2023-01-18T02:00:00.000Z", | ||
"descriptions": [ | ||
{ | ||
"lang": "en", | ||
"supportingMedia": [ | ||
{ | ||
"base64": false, | ||
"type": "text/html", | ||
"value": "Improper Privilege Management vulnerability in Rapid7 Velociraptor in the copy() function.<br><br>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.<br><br>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 (e.g. users with the Velociraptor \"investigator\" role) to overwrite files on the server, including Velociraptor configuration files.<br><br>To exploit this vulnerability, the attacker must already have a Velociraptor user account at a low privilege level (at least \"analyst\"). 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).<br><p>This vulnerability is associated with program files <tt><a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go\">https://github.com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go</a></tt> and program routines <tt>copy()</tt>.</p><p>This issue affects Velociraptor: before 0.6.7-5.</p>" | ||
} | ||
], | ||
"value": "Improper Privilege Management vulnerability in Rapid7 Velociraptor in the copy() function.\n\nVelociraptor 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.\n\nThe VQL copy() function applies permission checks for reading files but does not check for permission to write files. This allows a low privilege user (e.g. users with the Velociraptor \"investigator\" role) to overwrite files on the server, including Velociraptor configuration files.\n\nTo exploit this vulnerability, the attacker must already have a Velociraptor user account at a low privilege level (at least \"analyst\"). 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).\nThis 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().\n\nThis issue affects Velociraptor: before 0.6.7-5.\n\n" | ||
} | ||
], | ||
"impacts": [ | ||
{ | ||
"capecId": "CAPEC-75", | ||
"descriptions": [ | ||
{ | ||
"lang": "en", | ||
"value": "CAPEC-75 Manipulating Writeable Configuration Files" | ||
} | ||
] | ||
} | ||
], | ||
"metrics": [ | ||
{ | ||
"cvssV3_1": { | ||
"attackComplexity": "LOW", | ||
"attackVector": "NETWORK", | ||
"availabilityImpact": "NONE", | ||
"baseScore": 8.1, | ||
"baseSeverity": "HIGH", | ||
"confidentialityImpact": "HIGH", | ||
"integrityImpact": "HIGH", | ||
"privilegesRequired": "HIGH", | ||
"scope": "CHANGED", | ||
"userInteraction": "REQUIRED", | ||
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N", | ||
"version": "3.1" | ||
}, | ||
"format": "CVSS", | ||
"scenarios": [ | ||
{ | ||
"lang": "en", | ||
"value": "GENERAL" | ||
} | ||
] | ||
} | ||
], | ||
"problemTypes": [ | ||
{ | ||
"descriptions": [ | ||
{ | ||
"cweId": "CWE-269", | ||
"description": "CWE-269 Improper Privilege Management", | ||
"lang": "en", | ||
"type": "CWE" | ||
} | ||
] | ||
} | ||
], | ||
"providerMetadata": { | ||
"orgId": "00000000-0000-4000-9000-000000000000" | ||
}, | ||
"references": [ | ||
{ | ||
"url": "https://github.com/Velocidex/velociraptor" | ||
} | ||
], | ||
"solutions": [ | ||
{ | ||
"lang": "en", | ||
"supportingMedia": [ | ||
{ | ||
"base64": false, | ||
"type": "text/html", | ||
"value": "Upgrade to 0.6.7-5" | ||
} | ||
], | ||
"value": "Upgrade to 0.6.7-5" | ||
} | ||
], | ||
"source": { | ||
"discovery": "EXTERNAL" | ||
}, | ||
"timeline": [ | ||
{ | ||
"lang": "en", | ||
"time": "2023-01-12T07:00:00.000Z", | ||
"value": "Notification of the issue" | ||
}, | ||
{ | ||
"lang": "en", | ||
"time": "2023-01-17T02:00:00.000Z", | ||
"value": "Release 0.6.7-5 made available on Github" | ||
} | ||
], | ||
"title": "Insufficient permission check in the VQL copy() function", | ||
"workarounds": [ | ||
{ | ||
"lang": "en", | ||
"supportingMedia": [ | ||
{ | ||
"base64": false, | ||
"type": "text/html", | ||
"value": "A valid workaround is to prevent the copy function in the Velociraptor allow list:<br><br>1. In the configuration wizard answer yes to the question \"Do you want to restrict VQL functionality on the server?\"<br>2. This will add a default allow list to the configuration file.<br>3. Copy this allow list to your existing server.config.yaml<br>4. Ensure the \"copy\" function is removed from the default allow list." | ||
} | ||
], | ||
"value": "A valid workaround is to prevent the copy function in the Velociraptor allow list:\n\n1. In the configuration wizard answer yes to the question \"Do you want to restrict VQL functionality on the server?\"\n2. This will add a default allow list to the configuration file.\n3. Copy this allow list to your existing server.config.yaml\n4. Ensure the \"copy\" function is removed from the default allow list." | ||
} | ||
], | ||
"x_generator": { | ||
"engine": "Vulnogram 0.1.0-dev" | ||
} | ||
} | ||
}, | ||
"cveMetadata": { | ||
"assignerOrgId": "00000000-0000-4000-9000-000000000000", | ||
"cveId": "CVE-2023-0242", | ||
"requesterUserId": "00000000-0000-4000-9000-000000000000", | ||
"serial": 1, | ||
"state": "PUBLISHED" | ||
}, | ||
"dataType": "CVE_RECORD", | ||
"dataVersion": "5.0" | ||
} |
Oops, something went wrong.