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

New rule: body_cve_2023_5631.yml #881

Merged
merged 4 commits into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions detection-rules/body_cve_2023_5631.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Body: CVE-2023-5631 - Roundcube Webmail XSS via crafted SVG"
description: "Body HTML contains an exploit for CVE-2023-5631, a vulnerability in Roundcube Webmail that allows stored XSS via an HTML e-mail message with a crafted SVG document."
references:
- "https://www.welivesecurity.com/en/eset-research/winter-vivern-exploits-zero-day-vulnerability-roundcube-webmail-servers/"
- "https://nvd.nist.gov/vuln/detail/CVE-2023-5631"
type: "rule"
severity: "critical"
source: |
type.inbound
and length(attachments) == 0
and strings.ilike(body.html.raw, '*use href="data:image/svg+xml;base64,PHN2Zy*#*')
and not profile.by_sender().solicited
attack_types:
- "Malware/Ransomware"
tactics_and_techniques:
- "Evasion"
- "Exploit"
- "HTML smuggling"
- "Scripting"
detection_methods:
- "Content analysis"
- "HTML analysis"
- "Sender analysis"
id: "8405d61b-4330-534e-b64c-f98ee15d8767"
Loading