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,vuln

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: 490a00463044022047e3f2a064508b4d747e4c3e636b6383c965eb1920e51cfe4c9c385cab36cefb022064d284f43bfe57927dbcc8ce006dad628291fd21c8ed3387da6e88c576f45276:922c64590222798bb761d5b6d8e72950