id: oracle-ebs-credentials

info:
  name: Oracle E-Business System Credentials Page - Detect
  author: dhiyaneshDk
  severity: high
  description: Oracle E-Business System credentials page was detected.
  reference:
    - https://www.blackhat.com/docs/us-16/materials/us-16-Litchfield-Hackproofing-Oracle-eBusiness-Suite-wp-4.pdf
    - https://www.blackhat.com/docs/us-16/materials/us-16-Litchfield-Hackproofing-Oracle-eBusiness-Suite.pdf
    - http://www.davidlitchfield.com/AssessingOraclee-BusinessSuite11i.pdf
  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
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: config,exposure,oracle

http:
  - method: GET
    path:
      - '{{BaseURL}}/OA_HTML/jtfwrepo.xml'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "password="
          - "<PUSR_LIST>"
        part: body

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

      - type: status
        status:
          - 200

# digest: 490a0046304402207a5e32bc1aa91021e570639df1e37ee4ab402b13dd41f03c42a45c2c1190fad002201b7ee0c2700d49bc4d79578ddbd1a31790e897e04cdca70c0fdbcd188fbfabb5:922c64590222798bb761d5b6d8e72950
