id: CVE-2023-37599

info:
  name: Issabel PBX 4.0.0-6 - Directory Listing
  author: ritikchaddha
  severity: high
  description: |
    An issue in issabel-pbx v.4.0.0-6 allows a remote attacker to obtain sensitive information via the modules directory
  impact: |
    Exploiting this vulnerability could lead to unauthorized access to sensitive directories and files, compromising the confidentiality of the system.
  remediation: |
    It is recommended to update to a patched version of issabel-pbx or apply necessary configuration changes to prevent directory listing.
  reference:
    - https://github.com/sahiloj/CVE-2023-37599
    - https://nvd.nist.gov/vuln/detail/CVE-2023-37599
  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-2023-37599
    cwe-id: CWE-668
    epss-score: 0.03009
    epss-percentile: 0.85664
    cpe: cpe:2.3:a:issabel:issabel-pbx:4.0.0-6:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: issabel
    product: issabel-pbx
    shodan-query: title:"issabel"
    fofa-query: title="issabel"
  tags: cve,cve2023,issabel,issabel-pbx,directory-listing,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/modules/'

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "Index of /modules")'
          - 'contains_any(body, "issabel", "asterisk_", "billing_")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a0047304502204f8f2379e288c3bc5fef9251cf12403a18c17e3f65a63c1120b9272bf65879930221008751982b2c10f54c7000213ba076567b1f0fdddc9c363aa588eba23c9b52beee:922c64590222798bb761d5b6d8e72950