id: CVE-2022-40443

info:
  name: ZZCMS 2022 - Path Information Disclosure
  author: ritikchaddha
  severity: low
  description: |
    An absolute path traversal vulnerability in ZZCMS 2022 allows attackers to obtain sensitive information via a crafted GET request.
  impact: |
    An attacker can gain sensitive information about the server's file system.
  remediation: |
    Apply the vendor-supplied patch or upgrade to a non-vulnerable version.
  reference:
    - https://github.com/liong007/ZZCMS/issues/1
    - https://nvd.nist.gov/vuln/detail/CVE-2022-40443
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2022-40443
    cwe-id: CWE-22
    epss-score: 0.02023
    epss-percentile: 0.78446
    cpe: cpe:2.3:a:zzcms:zzcms:2022:*:*:*:*:*:*:*
  metadata:
    vendor: zzcms
    product: zzcms
    shodan-query: html:"zzcms"
    fofa-query: body="zzcms"
  tags: cve,cve22,zzcms,disclosure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}//one/siteinfo.php"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'class="titlebig'
          - 'zzcms'
          - 'siteinfo[-_]\d+\.html?'
        condition: and

      - type: word
        part: body
        words:
          - '暂无信息'
        negative: true
# digest: 490a004630440220294289b46ca0efeeabdeea2c509c5052bde7dcc36789f0905269d1aca072d0010220383fcaf7fd7ce9a48eee5f0a290bb9aa6baa2e5e0392809a4d7017cde821dc74:922c64590222798bb761d5b6d8e72950