Scans the JARs of the web applications, Vibecat (nested Tomcat), the ELO IndexServer plug-in directory and external paths for known vulnerabilities (CVE), with an Excel export and a REST API.
| Id | security |
|---|---|
| Role | security - needed for the page and the REST API (administrators always may) |
| Page | Plugins > Open (overlay with an X at the top right) or /plugins/security/ |
| REST | /api/plugins/security/… and, for callers with the role, /plugins/security/… |
In the administration open Plugins, select the row of this plug-in and press Open. The page opens in an overlay dialog: close it with the X at the top right, with Esc or by clicking outside; Open in a new tab next to the title shows it full size.
| Label | Meaning |
|---|---|
| Automatic scan every (hours, 0 = only on demand) | |
| OSV.dev | |
| Maven Central search | |
| Maven repository (versions) |
Finds the libraries (JARs) in your installation and reports the known vulnerabilities (CVE) of the versions you run, with the link to the original report. The same method as the library screening of the ECM Admin Center: the Maven coordinates of a JAR come from its pom.properties or, if it has none, from its SHA-1 at Maven Central; the vulnerabilities come from OSV.dev (GitHub advisories, the Tomcat security reports, NVD).
| Place | What |
|---|---|
| Web applications | The WAR that is deployed for each web application (the source and strategy of the application decide): every JAR inside, and, for an exploded application, its folder. |
| Vibecat | runtime (the Tomcat embed jars = the nested Tomcat), lib, plugins, vibecat.jar. The version of the running Tomcat is checked even when no jar of it is found. |
| ELO | The IndexServer plug-in directory. Its path is the option osgiPluginDirectories in the table eloixopt of the repository database; the plug-in reads it through the data sources of the administration (the ones you tick, or all: a database without this table is skipped). Where an ELO web application is ix.war, the folder ix-plugins next to it is scanned as well. A directory of another machine is scanned when it is reachable (UNC path); otherwise the report says so. |
| External paths | Any folder (searched for JAR, WAR and EAR files), WAR or JAR you list on the plug-in page. |
The administration page Reports shows the result: one row per library with the worst severity, the CVEs (each a link to the original report: the issue or advisory the vulnerability record points to, else the NVD entry) and where the library was found. A row opens the details: every CVE with severity, CVSS score, the version that fixes it and the links Report, Advisory, NVD and OSV. Export to Excel writes a workbook (Apache POI) with the sheets Summary, Libraries, Vulnerabilities (links as hyperlinks) and Places. The same page has the error report of the Cat Error Server Pages plug-in.
A scan runs in the background (a few minutes for a big WAR: the SHA-1 lookups are only needed for the JARs that carry no pom.properties; results are cached for 24 hours). It starts on demand (Scan now) and every n hours (default 0 = manual). Only SHA-1 and Maven coordinates leave the machine.
Through the plug-in valve (the ports of the web applications) or the administration port: /plugins/security/… resp. /api/plugins/security/…. HTTP Basic with a user that has the role security (add it on the Users page; administrators may too).
| Call | Result |
|---|---|
GET /status | running, message, progress, last scan |
POST /scan | starts a scan (409 when one is running); poll /status |
GET /summary | the counters and the nested Tomcat |
GET /report | the report: libraries with their vulnerabilities. Parameters: severity (lowest: critical, high, medium, low), library (text), vulnerableOnly=true |
GET /vulnerabilities | one row per library and vulnerability (same parameters) |
GET /report.xlsx | the Excel workbook |
GET|PUT /settings | the settings (PUT: administrators) |
curl -u scanner:secret -X POST https://host:8443/plugins/security/scan curl -u scanner:secret "https://host:8443/plugins/security/vulnerabilities?severity=high" curl -u scanner:secret -o report.xlsx https://host:8443/plugins/security/report.xlsx
A vulnerability: cve, id, aliases, severity (CRITICAL / HIGH / MEDIUM / LOW), score (CVSS 3), summary, fixed[], reportUrl, advisoryUrl, nvdUrl, osvUrl, references[].
pom.properties it left behind; one without is not.