id: oracle-ebs-sqllog-disclosure

info:
  name: Oracle EBS - SQL Log Disclosure
  author: dhiyaneshDk
  severity: medium
  description: An Oracle EBS SQL log was discovered.
  reference:
    - https://the-infosec.com/2017/03/29/do-you-know-what-your-erp-is-telling-us/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: oracle,ebs,logs,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}/OA_HTML/bin/sqlnet.log'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "DESCRIPTION="
          - "USER="
        part: body

      - type: word
        words:
          - "text/plain"
        part: header

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100be28ea5a7e444973ac017d99e708134b7622f1f2b7630d89b267cdfc92b4c7960220194746ca215a25812a49972ed077b490a5917d5f5ed692a070491589e49ff0cb:922c64590222798bb761d5b6d8e72950