CVE-2022-0432: Mastodon Prototype Pollution Vulnerability

日期: 2025-08-01 | 影响软件: Mastodon | POC: 已公开

漏洞描述

The GitHub repository mastodon/mastodon prior to 3.5.0 contains a Prototype Pollution vulnerability.

PoC代码[已公开]

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.
  impact: |
    Remote code execution
  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
    - https://github.com/ARPSyndicate/cvemon
  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.28093
    epss-percentile: 0.96338
    cpe: cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joinmastodon
    product: mastodon
  tags: cve,cve2022,mastodon,prototype,huntr,joinmastodon,vuln

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: 4a0a004730450220055dbbb99632b9cf175fd7f814c3407b9088aed646143180f39db92dfa0680a7022100e3e1a46ede9893c8668cc35a7ce7c59862820b83ac2c245c21e2e71490e2f768:922c64590222798bb761d5b6d8e72950

相关漏洞推荐