forked from Velocidex/velociraptor-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Security Advisories and RSS feeds (Velocidex#944)
- Fixed feeds by replacing RSS template with updated version from Hugo project. Made some adjustments to match pages. - Added missing RSS feeds. - Refactored CVE notices section. - Set menu and children sort order. - Improved RSS listing page content. - Fixed rss.xml to deliver absolute image links and full content instead of summaries (see https://jdheyburn.co.uk/blog/who-goes-blogging-6-three-steps-to-improve-hugos-rss-feeds/) - Removed deprecated `taxonomyterm` page kind. - Removed branch pages in Blog because they get rendered to RSS.
- Loading branch information
1 parent
048367b
commit b80a341
Showing
26 changed files
with
180 additions
and
155 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -68,5 +68,5 @@ outputs: | |
page: ["HTML"] | ||
home: ["HTML"] | ||
section: ["HTML"] | ||
taxonomyTerm: ["HTML"] | ||
taxonomy: ["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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
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,14 @@ | ||
--- | ||
menutitle: "CVE-2023-0242" | ||
title: "CVE-2023-0242 Insufficient Permission Check In The VQL Copy() Function" | ||
description: | | ||
Improper Privilege Management vulnerability in Rapid7 Velociraptor in the copy() function. | ||
This issue affects Velociraptor: before 0.6.7-5. | ||
weight: 10 | ||
date: 2023-01-18T00:00:00Z | ||
no_edit: true | ||
noTitle: false | ||
no_children: true | ||
--- | ||
|
||
{{< include-html "CVE-2023-0242.html" >}} |
2 changes: 1 addition & 1 deletion
2
...nnouncements/2023-cves/CVE-2023-0290.html → ...visories/CVE-2023-0290/CVE-2023-0290.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
File renamed without changes.
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,14 @@ | ||
--- | ||
menutitle: "CVE-2023-0290" | ||
title: "CVE-2023-0290 Directory Traversal In Client Id Parameter" | ||
description: | | ||
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. | ||
This issue affects Velociraptor: before 0.6.7-5. | ||
weight: 10 | ||
date: 2023-01-17T00:00:00Z | ||
no_edit: true | ||
noTitle: false | ||
no_children: true | ||
--- | ||
|
||
{{< include-html "CVE-2023-0290.html" >}} |
3 changes: 1 addition & 2 deletions
3
...nnouncements/2023-cves/CVE-2023-2226.html → ...visories/CVE-2023-2226/CVE-2023-2226.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
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,16 @@ | ||
--- | ||
menutitle: "CVE-2023-2226" | ||
title: "CVE-2023-2226 Velociraptor crashes while parsing some malformed PE or OLE files" | ||
description: | | ||
Due to insufficient validation in the PE and OLE parsers in | ||
Rapid7's Velociraptor versions earlier than 0.6.8 allows attacker | ||
to crash Velociraptor during parsing of maliciously malformed | ||
files. This issue affects Velociraptor: before 0.6.8. | ||
weight: 10 | ||
date: 2023-04-21T00:00:00Z | ||
no_edit: true | ||
noTitle: false | ||
no_children: true | ||
--- | ||
|
||
{{< include-html "CVE-2023-2226.html" >}} |
File renamed without changes.
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,18 @@ | ||
--- | ||
menutitle: "CVE-2023-5950" | ||
title: "CVE-2023-5950 Rapid7 Velociraptor Reflected XSS" | ||
description: | | ||
Rapid7 Velociraptor versions prior to 0.7.0-4 suffer from a | ||
reflected cross site scripting vulnerability. This vulnerability | ||
allows attackers to inject JS into the error path, potentially | ||
leading to unauthorized execution of scripts within a user's web | ||
browser. This issue affects Velociraptor: before 0.7.0-4. | ||
Patches are also available for version 0.6.9 (0.6.9-1) | ||
weight: 10 | ||
date: 2023-11-06T00:00:00Z | ||
no_edit: true | ||
noTitle: false | ||
no_children: true | ||
--- | ||
|
||
{{< include-html "CVE-2023-5950.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
File renamed without changes.
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,13 @@ | ||
--- | ||
menutitle: "CVE-2024-10526" | ||
title: "CVE-2024-10526 Local Privilege Escalation In Windows Velociraptor Service" | ||
description: | | ||
The Velociraptor Windows MSI installer creates the installation directory with WRITE_DACL permission to the BUILTIN\\Users group. This allows local users who are not administrators to grant themselves the Full Control permission on Velociraptor's files. By modifying Velociraptor's files, local users can subvert the binary and cause the Velociraptor service to execute arbitrary code as the SYSTEM user, or to replace the Velociraptor binary completely. | ||
weight: 10 | ||
date: 2024-11-03T00:00:00Z | ||
no_edit: true | ||
noTitle: false | ||
no_children: true | ||
--- | ||
|
||
{{< include-html "CVE-2024-10526.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,22 @@ | ||
--- | ||
menutitle: "Security Advisories" | ||
title: "Security Advisories" | ||
description: | | ||
CVEs and other security advisories. | ||
weight: 10 | ||
no_edit: true | ||
noTitle: true | ||
pre: <i class="fas fa-exclamation-triangle"></i> | ||
outputs: | ||
- html | ||
- RSS | ||
--- | ||
|
||
The following CVEs have been noted. | ||
|
||
Please upgrade to [the current release]({{< baseurl >}}/downloads). | ||
|
||
{{% children description="true" %}} | ||
|
||
Please consider subscribing to our [Security Advisories RSS feed]({{< baseurl >}}/rss) to receive | ||
timely notifications. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,54 +1,54 @@ | ||
{{- $baseUrl := .Site.BaseURL -}} | ||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML -}} | ||
{{- $jsonPath := .Page.Params.rss_data_file -}} | ||
{{- if $jsonPath -}} | ||
{{- $data := slice -}} | ||
{{- with resources.Get $jsonPath -}} | ||
{{- $data = . | transform.Unmarshal -}} | ||
{{ end }} | ||
{{- $authorEmail := "" }} | ||
{{- with site.Params.author }} | ||
{{- if reflect.IsMap . }} | ||
{{- with .email }} | ||
{{- $authorEmail = . }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- $authorName := "" }} | ||
{{- with site.Params.author }} | ||
{{- if reflect.IsMap . }} | ||
{{- with .name }} | ||
{{- $authorName = . }} | ||
{{- end }} | ||
{{- else }} | ||
{{- $authorName = . }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- $pctx := . }} | ||
{{- $pages := slice }} | ||
{{- $pages = $pctx.Pages }} | ||
{{- $limit := .Site.Config.Services.RSS.Limit }} | ||
{{- if ge $limit 1 }} | ||
{{- $pages = $pages | first $limit }} | ||
{{- end }} | ||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }} | ||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
<channel> | ||
<title> | ||
{{- if .Page.Params.rss_title -}} | ||
{{- .Page.Params.rss_title -}} | ||
{{- else -}} | ||
{{- if eq .Title .Site.Title -}} | ||
{{- .Site.Title -}} | ||
{{- else -}} | ||
{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }} | ||
{{- end -}} | ||
{{- end -}}</title> | ||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }}</title> | ||
<link>{{ .Permalink }}</link> | ||
<description>Recent content | ||
{{- if .Page.Params.rss_description -}} | ||
{{- .Page.Params.rss_description -}} | ||
{{- else -}} | ||
{{ if ne .Title .Site.Title }} | ||
{{- with .Title }} in {{.}} | ||
{{- end -}} | ||
{{- end }} on {{ .Site.Title -}} | ||
{{- end -}} | ||
</description> | ||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }} | ||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }} | ||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }} | ||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }} | ||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} | ||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} | ||
{{- with .OutputFormats.Get "RSS" -}} | ||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description> | ||
<generator>Hugo</generator> | ||
<language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }} | ||
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }} | ||
<webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }} | ||
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }} | ||
<lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} | ||
{{- with .OutputFormats.Get "RSS" }} | ||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} | ||
{{- end -}} | ||
{{ range $data | first 50 }} | ||
{{- if .date -}} | ||
{{- end }} | ||
{{- range $pages }} | ||
<item> | ||
<title>{{ .title }}</title> | ||
<link>{{ $baseUrl }}{{ strings.TrimPrefix "/" .link }}</link> | ||
<pubDate>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 -0700" .date }}</pubDate> | ||
<guid>{{ $baseUrl }}{{ .link }}</guid> | ||
<description>{{ .description }}</description> | ||
<title>{{ .Title }}</title> | ||
<link>{{ .Permalink }}</link> | ||
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> | ||
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }} | ||
<guid>{{ .Permalink }}</guid> | ||
<description>{{ replaceRE "img src=\"(.*?)\"" (printf "%s%s%s" "img src=\"" .Permalink "$1\"") .Content | transform.XMLEscape | safeHTML }}</description> | ||
</item> | ||
{{ end }} | ||
{{ end }} | ||
{{- end }} | ||
</channel> | ||
</rss> | ||
{{ end }} |