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