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.89362
    epss-percentile: 0.99525
    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

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: 4b0a004830460221009869bb253755a737686f09e5118f10f5225cec8ae080f538d6d73cf2130d1fc3022100f4e262524d3822b110abf3a94c68d5506f848765681d3ed7797a9548904b4e65:922c64590222798bb761d5b6d8e72950