nuclei-templates/http/cves/2022/CVE-2022-0432.yaml

44 lines
1.5 KiB
YAML

id: CVE-2022-0432
info:
name: Mastodon Prototype Pollution Vulnerability
author: pikpikcu
severity: medium
description: The GitHub repository mastodon/mastodon prior to 3.5.0 contains a Prototype Pollution vulnerability.
remediation: |
Apply the latest security patches and updates provided by the Mastodon project to mitigate the vulnerability.
reference:
- https://github.com/mastodon/mastodon/commit/4d6d4b43c6186a13e67b92eaf70fe1b70ea24a09
- https://drive.google.com/file/d/1vpZ0CcmFhTEUasLTPUBf8o-4l7G6ojtG/view
- https://nvd.nist.gov/vuln/detail/CVE-2022-0432
- https://huntr.dev/bounties/d06da292-7716-4d74-a129-dd04773398d7
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-0432
cwe-id: CWE-1321
epss-score: 0.001
epss-percentile: 0.41034
cpe: cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: joinmastodon
product: mastodon
tags: mastodon,prototype,huntr,cve,cve2022,joinmastodon
http:
- method: GET
path:
- '{{BaseURL}}/embed.js'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "if (data.type !== 'setHeight' || !iframes[data.id]) {"
- type: status
status:
- 200
# digest: 490a0046304402202e6f2c98e75b39b5d13c1478e11828203f9ef9db1ab2cfbdfa8cd9fd785ce83e02205b784ed5fcf64960849a54aa0184c9ea1ef583f4f64b7b8333d0bc267f8023db:922c64590222798bb761d5b6d8e72950