HexBrain

Browse / CVEs / CVE-2018-6910

CVE-2018-6910· dedecms / dedecms· CWE-668

DedeCMS 5.7 - Path Disclosure

highseverity
7.5CVSS score
18.8%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

DedeCMS 5.7 allows remote attackers to discover the full path via a direct request for include/downmix.inc.php or inc/inc_archives_functions.php

Impact

An attacker can use the disclosed path information to gather intelligence for further attacks or exploit other vulnerabilities.

Fix

Apply the latest patch or upgrade to a newer version of DedeCMS to fix the path disclosure vulnerability.

How to confirm it

Send: GET {{BaseURL}}/include/downmix.inc.php
Positive when: contains "downmix.inc.php" and "Call to undefined function helper()" AND status 200

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

The full check
id: CVE-2018-6910

info:
  name: DedeCMS 5.7 - Path Disclosure
  author: pikpikcu
  severity: high
  description: DedeCMS 5.7 allows remote attackers to discover the full path via a direct request for include/downmix.inc.php or inc/inc_archives_functions.php
  impact: |
    An attacker can use the disclosed path information to gather intelligence for further attacks or exploit other vulnerabilities.
  remediation: |
    Apply the latest patch or upgrade to a newer version of DedeCMS to fix the path disclosure vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2018-6910
    - https://github.com/kongxin520/DedeCMS/blob/master/DedeCMS_5.7_Bug.md
    - https://kongxin.gitbook.io/dedecms-5-7-bug/
    - https://github.com/zhibx/fscan-Intranet
    - https://github.com/0ps/pocassistdb
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2018-6910
    cwe-id: CWE-668
    epss-score: 0.18838
    epss-percentile: 0.9731
    cpe: cpe:2.3:a:dedecms:dedecms:5.7:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: dedecms
    product: dedecms
    shodan-query:
      - http.html:"dedecms"
      - cpe:"cpe:2.3:a:dedecms:dedecms"
    fofa-query:
      - body="dedecms"
      - app="dedecms"
  tags: cve,cve2018,dedecms,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/include/downmix.inc.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "downmix.inc.php"
          - "Call to undefined function helper()"
        condition: and

      - type: status
        status:
          - 200

References

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