Lotus Domino — 1 vulnerability check

noctis ships 1 vulnerability check for Lotus Domino, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

HCL / IBM / Lotus Domino default databases readable anonymously

CVECVE-2002-0664
Severityhigh · CVSS 7.5
Categoryexposure — Exposure
Serviceshttp, https
Detectionset_var, script, http_request, match · highest QoD 75
Feedtests/vulnerabilities/lotus-domino/domino-default-databases.yaml

Checks whether a Domino HTTP server lets anonymous users open its default and administration databases (names.nsf, catalog.nsf, log.nsf, domlog.nsf, webadmin.nsf, setup.nsf, the ZMerge zmevladm.nsf and about 170 other well-known databases). The feed first makes sure the server is Domino (Server header or its error page for a random database), then requests each database without credentials. A database is reported only when the reply is a 200 holding the markup Domino generates for a rendered database (Domino URL commands such as ?OpenView or ?OpenDocument, its icon and form helpers) and no login form. A random absent database is requested first, and nothing is reported when it answers with the same markup, so catch-all servers report nothing. An anonymously readable ZMerge administration database is reported as CVE-2002-0664; documentation, sample and landing databases, often public on purpose, are reported at low severity.

How noctis detects it

  1. Parses / computes the next value with a Rhai script
  2. HTTP(S) request GET /
  3. HTTP(S) request GET /{{ctl}}
  4. Parses / computes the next value with a Rhai script
  5. Parses / computes the next value with a Rhai script
  6. Parses / computes the next value with a Rhai script
  7. HTTP(S) request GET {{item.path}}
  8. Parses / computes the next value with a Rhai script
  9. Checks item.what for .+ → finding QoD 75: Domino ZMerge administration database readable anonymously: …
  10. Checks item.what for .+ → finding QoD 75: Domino database readable anonymously: …
  11. Checks item.what for .+ → finding QoD 75: Domino database readable anonymously: …
  12. Checks item.what for .+ → finding QoD 75: Domino database readable anonymously: …

References:

Feed source — tests/vulnerabilities/lotus-domino/domino-default-databases.yaml
# HCL / IBM / Lotus Domino default databases readable without authentication.
#
# Source: OpenVAS NVT pre2008/domino_default_db.nasl (OID 1.3.6.1.4.1.25623.1.0.10629,
# GPL-2.0-only). The NVT requests a list of default Domino databases and reports every one
# that exists (non-404) whose reply has no login marker ("Please identify yourself",
# type="password", "<TITLE>Server Login</TITLE>", the "Domino Administrator … Help" landing
# page). Same database list and same login exclusions here (srvnam.htm dropped: a static
# file, not a database).
#
# Stricter than the NVT (fewer false positives):
#   * the scan only runs on a Domino server: Server header naming Domino (root page or the
#     control), or the Domino "HTTP Web Server: … Exception" error page for a random .nsf;
#   * a database counts as readable only when the reply is a 200 carrying markup the Domino
#     HTTP engine generates for a rendered database: Domino URL commands (?OpenView,
#     ?OpenDocument, ?OpenNavigator, ?OpenForm, ?ReadForm, ?Navigate…), the /icons/ecblank.gif
#     spacer, the _DominoForm form or the _doClick() helper — never on a bare non-404;
#   * a random absent database (/noctis-<hex>.nsf) is requested first; when it answers 200
#     with the same markup (catch-all / honeypot), nothing is reported.
#
# CVE mapping: the NVT lists CVE-2000-0021 and CVE-2002-0664.
#   * CVE-2002-0664 = ZMerge administration database (zmevladm.nsf) whose default ACL gives
#     anonymous users Manager access — proven by the /zmevladm.nsf finding (NVD v2 7.5,
#     no v3 score).
#   * CVE-2000-0021 = real-path disclosure through a non-existent /cgi-bin script. Nothing in
#     the NVT (nor here) probes it, so it is left out of `cves:` (an exclude_cve filter on it
#     must not drop this feed); kept in references for tracking.
#   * The other databases are default ACL misconfigurations with no CVE of their own:
#     findings carry `cves: []`.
uid: fe0f692c-564a-401f-b0e8-3981a728f705
name: "HCL / IBM / Lotus Domino default databases readable anonymously"
description: >-
  Checks whether a Domino HTTP server lets anonymous users open its default and
  administration databases (names.nsf, catalog.nsf, log.nsf, domlog.nsf, webadmin.nsf,
  setup.nsf, the ZMerge zmevladm.nsf and about 170 other well-known databases). The feed
  first makes sure the server is Domino (Server header or its error page for a random
  database), then requests each database without credentials. A database is reported only
  when the reply is a 200 holding the markup Domino generates for a rendered database
  (Domino URL commands such as ?OpenView or ?OpenDocument, its icon and form helpers) and no
  login form. A random absent database is requested first, and nothing is reported when it
  answers with the same markup, so catch-all servers report nothing. An anonymously
  readable ZMerge administration database is reported as CVE-2002-0664; documentation,
  sample and landing databases, often public on purpose, are reported at low severity.
category: exposure
cves: [CVE-2002-0664]
cvss: 7.5  # NVD v2 score of CVE-2002-0664 (no v3.x score exists for either CVE)
severity: high
confidence_base: 0.40
tags: [http, domino, lotus, hcl, exposure, acl, default-database]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2002-0664
  - https://nvd.nist.gov/vuln/detail/CVE-2000-0021
  - https://www.securityfocus.com/bid/5101
  - https://www.securityfocus.com/bid/881

steps:
  # ── Domino fingerprint + catch-all control ───────────────────────────────
  - id: init-root
    action: set_var
    var_name: root
    var_value: {status: 0, body: "", headers: {}}

  - id: init-control
    action: set_var
    var_name: control
    var_value: {status: 0, body: "", headers: {}}

  - id: control-name
    action: script
    store_as: ctl
    code: |
      "noctis-" + rand_hex(8) + ".nsf"

  - id: root-probe
    action: http_request
    method: GET
    path: "/"
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    timeout_secs: 5
    store_as: root

  # Followed like the database probes, so a server that redirects every database
  # (absent ones included) to the same rendered page is caught by the control.
  - id: control-probe
    action: http_request
    method: GET
    path: "/{{ctl}}"
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: true
    timeout_secs: 5
    store_as: control

  # domino: the Server header (root page or control) names Domino, or the control is the
  # Domino HTTP engine's error page ("HTTP Web Server: Lotus Notes Exception - File does
  # not exist").
  - id: domino-check
    action: script
    store_as: domino
    code: |
      let rs = if type_of(root.headers) == "map" && "server" in root.headers { root.headers["server"].to_string() } else { "" };
      let cs = if type_of(control.headers) == "map" && "server" in control.headers { control.headers["server"].to_string() } else { "" };
      let cb = if type_of(control.body) == "string" { control.body } else { "" };
      ereg("(?i)domino", rs) || ereg("(?i)domino", cs) ||
        ereg("(?i)HTTP Web Server:[^<]{0,80}(Exception|File does not exist|Couldn't find design note)", cb)

  # The markup the Domino HTTP engine generates for a rendered database, and the login
  # markers of a protected one (same set as the original check).
  - id: patterns
    action: script
    store_as: pat
    code: |
      #{
        domino_page: "(?i)(\\?(OpenView|OpenDocument|OpenNavigator|OpenFrameset|OpenForm|OpenAbout|OpenPage|OpenOutline|OpenImageResource|OpenElement|OpenDatabase|ReadForm|SearchView|Navigate)\\b|/icons/ecblank\\.gif|_DominoForm|function\\s+_doClick)",
        login: "(?is)(Please identify yourself|type\\s*=\\s*[\"']?password|<title>\\s*Server Login\\s*</title>|>Domino Administrator[^<]{0,40}Help<)"
      }

  - id: catch-all-check
    action: script
    store_as: catch_all
    code: |
      let cb = if type_of(control.body) == "string" { control.body } else { "" };
      control.status == 200 && ereg(pat.domino_page, cb)

  # ── Per database: request it anonymously, check for a rendered database ──
  - id: init-db
    action: set_var
    var_name: db
    var_value: {status: 0, body: "", headers: {}}
    loop:
      var: item
      over:
        - path: "/catalog.nsf"
          what: "the list of databases in the server can be retrieved"
          sev: medium
        - path: "/cersvr.nsf"
          what: "the information on the server certificates can be read anonymously"
          sev: medium
        - path: "/domlog.nsf"
          what: "the logs of the domain servers can be read anonymously"
          sev: medium
        - path: "/events4.nsf"
          what: "the list of events that have taken place can be read anonymously, this might lead to information disclosure of users and hidden databases"
          sev: medium
        - path: "/log.nsf"
          what: "the server log can be retrieved"
          sev: medium
        - path: "/names.nsf"
          what: "the users and groups in the server can be accessed anonymously, in some cases, access to the hashed passwords will be possible"
          sev: high
        - path: "/setup.nsf"
          what: "the server might be configured remotely or the current setup might be downloaded"
          sev: medium
        - path: "/statrep.nsf"
          what: "the reports generated by administrators can be read anonymously"
          sev: medium
        - path: "/webadmin.nsf"
          what: "the server administration database can be read anonymously"
          sev: medium
        - path: "/zmevladm.nsf"
          what: "it provides arbitrary users with Manager level access, which allows the users to read or modify the import/export scripts"
          sev: high
        - path: "/852566C90012664F"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/account.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/accounts.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/admin4.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/admin5.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/admin.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/a_domlog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/agentrunner.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/AgentRunner.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/alog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/archive/a_domlog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/archive/l_domlog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/bookmark.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/bookmarks.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/books.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/busytime.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/calendar.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/certa.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/certlog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/certsrv.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/clbusy.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/cldbdir.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/clusta4.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/collect4.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/cpa.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/da.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/database.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/dba4.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/dbdirman.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/db.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/dclf.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEASAppDesign.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEASLog01.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEASLog02.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEASLog03.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEASLog04.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEASLog05.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEASLog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/decsadm.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/decslog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/DEESAdmin.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/default.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/deslog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/dirassist.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/doc/dspug.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/doc/helpadmn.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/doc/javapg.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/doc/readmec.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/doc/readmes.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/doc/svrinst.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/doc/wksinst.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/doladmin.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/domadmin.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/domcfg.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/domguide.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/domino.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/dspug.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/event.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/events5.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/events.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/group.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/groups.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/help4.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/decsdoc.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/dols_help.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/help5_admin.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/help5_client.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/help5_designer.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/help6_admin.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/help6_client.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/help6_designer.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/lccon.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/lsxlc.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/helplt4.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/help/readme.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/hidden.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/home.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/homepage.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/iNotes/Forms5.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/iNotes/Forms5.nsf/$DefaultNav"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/jotter.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/lccon.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/ldap.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/l_domlog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/leiadm.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/leilog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/leivlt.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/lndfr.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/loga4.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mab.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail10.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail1.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail2.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail3.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail4.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail5.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail6.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail7.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail8.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail9.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail/admin.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mail.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mailw46.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/msdwda.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mtabtbls.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mtatbls.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/mtstore.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/nntp/nd000001.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/nntp/nd000002.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/nntp/nd000003.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/nntppost.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/notes.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/ntsync45.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/ntsync4.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/perweb.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/private.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/products.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/proghelp/KBCCV11.NSF"
          what: "this database can be read anonymously"
          sev: low
        - path: "/public.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/qpadmin.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/qstart.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/quickplace/quickplace/main.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/quickstart/qstart50.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/quickstart/wwsample.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/reports.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/sample/faqw46.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/sample/framew46.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/sample/siregw46.nsf"
          what: "this database can be read anonymously"
          sev: low
        - path: "/schema50.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/secret.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/secure.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/setupweb.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smbcfg.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smconf.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smency.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smhelp.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smmsg.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smquar.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smsolar.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smtime.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smtp.box"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smtpibwq.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smtp.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smtpobwq.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smtptbls.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/smvlog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/software.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/statmail.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stats675.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stauths.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stautht.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stconfig.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stconf.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stdnaset.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stdomino.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stlog.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/streg.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/stsrc.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/user.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/userreg.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/users.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/vpuserinfo.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/web.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/webstart.nsf"
          what: "this database can be read anonymously"
          sev: medium
        - path: "/welcome.nsf"
          what: "this database can be read anonymously"
          sev: low

  - id: probe-db
    action: http_request
    method: GET
    path: "{{item.path}}"
    port: "{{port}}"
    tls_insecure: true
    # Same redirect handling as the control: a redirect to the login form ends on the
    # login markers; a server sending every database to one public page trips catch_all.
    follow_redirects: true
    timeout_secs: 5
    condition: "domino == true && catch_all == false"
    store_as: db

  - id: check-db
    action: script
    store_as: hit
    code: |
      let body = if type_of(db.body) == "string" { db.body } else { "" };
      domino == true && catch_all == false && db.status == 200 &&
        ereg(pat.domino_page, body) && !ereg(pat.login, body)

  - id: report-zmerge
    action: match
    source: item.what
    pattern: ".+"
    condition: "hit == true && item.path == \"/zmevladm.nsf\""
    on_match:
      finding:
        title: "Domino ZMerge administration database readable anonymously: {{item.path}}"
        description: "The ZMerge administration database {{item.path}} is readable without authentication. On ZMerge 4.x and 5.x its default ACL grants anonymous users Manager access, which lets them read or modify the import/export scripts."
        remediation: "Set the Anonymous and -Default- entries of the zmevladm.nsf ACL to No Access, or remove the database if ZMerge is not used."
        severity: high
        cves: [CVE-2002-0664]
        cvss: 7.5
        confidence_delta: 0.40
        qod: 75
        evidence: "GET {{item.path}} without credentials → 200, rendered Domino database (Domino URL commands, no login form); random control /{{ctl}} → {{control.status}}"

  - id: report-high
    action: match
    source: item.what
    pattern: ".+"
    condition: "hit == true && item.sev == \"high\" && item.path != \"/zmevladm.nsf\""
    on_match:
      finding:
        title: "Domino database readable anonymously: {{item.path}}"
        description: "The Domino database {{item.path}} is served without authentication: {{item.what}}."
        remediation: "Review the ACL of every default Domino database: set Anonymous (and -Default- if the server allows anonymous web access) to No Access, require authentication for the HTTP task, and remove databases that are not needed."
        severity: high
        cves: []
        cvss: 7.5
        confidence_delta: 0.40
        qod: 75
        evidence: "GET {{item.path}} without credentials → 200, rendered Domino database (Domino URL commands, no login form); random control /{{ctl}} → {{control.status}}"

  - id: report-medium
    action: match
    source: item.what
    pattern: ".+"
    condition: "hit == true && item.sev == \"medium\""
    on_match:
      finding:
        title: "Domino database readable anonymously: {{item.path}}"
        description: "The Domino database {{item.path}} is served without authentication: {{item.what}}."
        remediation: "Review the ACL of every default Domino database: set Anonymous (and -Default- if the server allows anonymous web access) to No Access, require authentication for the HTTP task, and remove databases that are not needed."
        severity: medium
        cves: []
        cvss: 5.3
        confidence_delta: 0.40
        qod: 75
        evidence: "GET {{item.path}} without credentials → 200, rendered Domino database (Domino URL commands, no login form); random control /{{ctl}} → {{control.status}}"

  - id: report-low
    action: match
    source: item.what
    pattern: ".+"
    condition: "hit == true && item.sev == \"low\""
    on_match:
      finding:
        title: "Domino database readable anonymously: {{item.path}}"
        description: "The Domino database {{item.path}} is served without authentication: {{item.what}}."
        remediation: "Documentation, sample and landing databases are often public on purpose; if this one is not meant to be, review the ACL of every default Domino database: set Anonymous (and -Default- if the server allows anonymous web access) to No Access, require authentication for the HTTP task, and remove databases that are not needed."
        severity: low
        cves: []
        cvss: 3.7
        confidence_delta: 0.40
        qod: 75
        evidence: "GET {{item.path}} without credentials → 200, rendered Domino database (Domino URL commands, no login form); random control /{{ctl}} → {{control.status}}"

View these feeds on GitHub