Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CATALOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ Django UI extensions (XUI). Each folder has a README.
| Ssm Inventory | [XUI-l43ailkn](extensions/XUI-l43ailkn/README.md) | Adds Inventory and Patching server tabs for EC2 instances managed by AWS Systems Manager. |
| StormForge Optimize Live | [XUI-wyauaxbl](extensions/XUI-wyauaxbl/README.md) | Adds Clusters, Namespaces and Workloads tabs, marked with the StormForge icon, to Kubernetes clusters running the StormForge agent, with StormForge's optimization score, recommendation impact, namespace and workload tables, a live node snapshot, cluster configuration, and each workload's summary, recommendation, patches and optimization settings, the level (cluster, namespace or workload) every setting is set at, drilling down from cluster to namespace to workload, and adds an Optimization tab to each EKS, AKS and GKE namespace on those clusters that shows only that namespace's workloads and applies their recommendations. |
| Technology Reference | [XUI-vwrd15py](extensions/XUI-vwrd15py/README.md) | Adds a read-only Technology Reference tab to Resource Handler and Environment pages listing the technology's custom fields, actions, and field dependencies, discovered live from the instance and exportable as one .xlsx. |
| Vulnerabilities | [XUI-wqrj0e3p](extensions/XUI-wqrj0e3p/README.md) | Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, and a nightly re-match. |
| Vulnerabilities | [XUI-wqrj0e3p](extensions/XUI-wqrj0e3p/README.md) | Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, a nightly re-match, and an optional action that installs updates, restarts if needed and rescans. |

## Parameters

Expand Down
2 changes: 1 addition & 1 deletion catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@
"id": "XUI-wqrj0e3p",
"type": "extensions",
"name": "Vulnerabilities",
"description": "Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, and a nightly re-match.",
"description": "Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, a nightly re-match, and an optional action that installs updates, restarts if needed and rescans.",
"path": "extensions/XUI-wqrj0e3p",
"readme": "extensions/XUI-wqrj0e3p/README.md",
"uses": [],
Expand Down
2 changes: 1 addition & 1 deletion extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Django UI extensions (XUI). Each folder has a README.
| Ssm Inventory | [XUI-l43ailkn](XUI-l43ailkn/README.md) | Adds Inventory and Patching server tabs for EC2 instances managed by AWS Systems Manager. |
| StormForge Optimize Live | [XUI-wyauaxbl](XUI-wyauaxbl/README.md) | Adds Clusters, Namespaces and Workloads tabs, marked with the StormForge icon, to Kubernetes clusters running the StormForge agent, with StormForge's optimization score, recommendation impact, namespace and workload tables, a live node snapshot, cluster configuration, and each workload's summary, recommendation, patches and optimization settings, the level (cluster, namespace or workload) every setting is set at, drilling down from cluster to namespace to workload, and adds an Optimization tab to each EKS, AKS and GKE namespace on those clusters that shows only that namespace's workloads and applies their recommendations. |
| Technology Reference | [XUI-vwrd15py](XUI-vwrd15py/README.md) | Adds a read-only Technology Reference tab to Resource Handler and Environment pages listing the technology's custom fields, actions, and field dependencies, discovered live from the instance and exportable as one .xlsx. |
| Vulnerabilities | [XUI-wqrj0e3p](XUI-wqrj0e3p/README.md) | Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, and a nightly re-match. |
| Vulnerabilities | [XUI-wqrj0e3p](XUI-wqrj0e3p/README.md) | Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, a nightly re-match, and an optional action that installs updates, restarts if needed and rescans. |
21 changes: 20 additions & 1 deletion extensions/XUI-wqrj0e3p/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Adds a **Vulnerabilities** tab to Linux and Windows servers, and to any server labelled `Vulnerabilities`. On Linux the tab collects a list of the software installed on the server, matches it against a database of known vulnerabilities, and shows the findings: how many are critical, high, medium and low, how many are on the CISA known-exploited list, and for each package the installed version, the version that fixes it and the advisory. Users can switch between a Packages view (what to update) and a CVEs view (one row per CVE), search, filter by severity and show only exploited findings or only those with a fix. The Known vulnerabilities card also says how many vulnerabilities have a fix; a vulnerability has one when any package it affects has a fixed version, and a Windows finding always has one.

Nothing is changed on the server. The tab does not contact the server when it opens; it shows the last result. Windows servers are covered in [Windows servers](#windows-servers).
Scanning changes nothing on the server (installing updates is a separate action, see [Install updates](#install-updates)). The tab does not contact the server when it opens; it shows the last result. Windows servers are covered in [Windows servers](#windows-servers).

## How it works

Expand Down Expand Up @@ -64,6 +64,25 @@ Two recurring jobs are created the first time the Vulnerability Settings page op

Turn on **Scan new servers after they are built** on the settings page. The extension then adds an action to the post-provisioning hook point. After a successful build, each new server that can be scanned is scanned as its own job: the build never waits for it and never fails because of it. Turning the setting off switches the action off; it is never created while the setting is off.

## Install updates

Turn on **Install updates** on the settings page and the extension creates a server action, **Install Updates**, which installs every available update on one Linux or Windows server from the repositories or update source it is already configured with. The button of the same name then shows on the server's Vulnerabilities tab next to the scan button, and the action also appears in the server's Actions menu. Turning the setting off disables the action; its role grants and its Requires approval choice are kept. The action is offered on Linux servers and on Windows Server 2022 and 2025. A server in an Unassigned group is never offered it.

- **Who can run it.** CB Admins, and users whose role has `server.all_actions` on the server. For any other role, an admin adds **Install Updates** to the role's server actions. A new action is granted to no role.
- **Requires approval.** The action is created without it. An admin can switch it on in the action's settings; the run then waits for an approval like any other server action, and the setting is never changed again by the extension.
- **What it runs.** Red Hat Enterprise Linux and Oracle Linux 8 to 10: `dnf -y --refresh upgrade`. Amazon Linux 2023: `dnf -y --refresh upgrade --releasever=latest`. Ubuntu 22.04 and 24.04: `apt-get update`, then a non-interactive `apt-get -y dist-upgrade` that keeps the existing configuration files. Any other distribution is refused with a message and nothing is installed. The server needs its repositories reachable.
- **Restart.** The dialog has a **Restart if needed** option, on by default; a CloudBolt global preference decides whether it shows as a checkbox or as a True/False list. When an update needs a restart and the option is on, the server is restarted and the job waits for it to come back (up to the restart wait in the settings, 5 to 120 minutes, default 60); a server that is not back by then fails the job. With the option off the updates are installed, the panel says a restart is pending, and the scan afterwards still runs. The update itself is limited by the update timeout in the settings (10 to 240 minutes, default 90).
- **Windows.** Windows Server 2022 and 2025 only. The updates come from the server's configured source: WSUS when group policy sets one, otherwise Windows Update, so on WSUS only approved updates install. The work runs as a scheduled task under SYSTEM, so the credentials CloudBolt uses must be able to create one; a non-administrator WinRM credential cannot. A server with the Configuration Manager client is refused with a message and nothing is installed. A cumulative update finishes during the restart, so the server can take a long time to answer again; raise the restart wait if it fails. If more updates are offered afterwards, the job says how many; run the action again to install them.
- **Old kernels.** Only after a restart that was confirmed, old kernels are removed: on the Red Hat family `dnf -y remove --oldinstallonly` (dnf keeps the number of kernels set by `installonly_limit`, 3 by default); on Ubuntu, which keeps the previous kernel as a boot fallback that its own cleanup never removes, the action removes the older kernel's packages by name, only when the server is running its newest kernel and nothing else would be removed. The setting **Remove old kernels after a restart** (on by default) turns this off; the scan then keeps listing the old kernel's vulnerabilities for as long as it stays installed.
- **What updating cannot fix.** Findings in software the package manager does not own, such as libraries bundled inside agents and tools (Go binaries, Python packages installed outside the distribution's packages). They stay listed with a fix version after the run.
- **Nothing to install.** A server whose image is already current reports "No updates were available".
- **After the update** the server is scanned again and the panel shows the vulnerabilities before and after, and a link to the job. If the scan fails the updates stay installed and the line shows the missing number as a dash.
- **Cancelling.** Cancelling the job does not stop the update on the server: a package transaction is never stopped halfway, so it runs to its end there. Run the action again to see the result.
- **After the dialog** CloudBolt returns to the server's default tab, not to Vulnerabilities, because the browser drops the tab from the address. Open the tab to follow the run; it refreshes every 5 seconds.
- **Not covered.** Windows versions other than 2022 and 2025, and any Linux distribution other than those above.

**Install updates on all servers of a resource.** The same setting also adds a resource action, **Install Updates on All Servers**, to every resource that has a Linux or Windows server. It installs the updates on the resource's servers one server at a time, in hostname order, and stops at the first server whose update fails; the servers after it are listed as not attempted. A server that needs a restart it was not allowed to do (restart-pending) is not a failure, and the run goes on. A server that cannot be updated now (historical, in an Unassigned group, unsupported, or one the person may not update) is skipped with its reason, and the skipped servers are listed in the job output. To run it a person needs permission to run the resource action on the resource (CB Admins, a role with `resource.all_actions`, or a role that has the action added) and, for every server, the same permission as for the server action; a server that fails the second check is skipped. Requires approval is set separately on the resource action in its settings and is never changed by the extension. A failed server ends the job as a failure and the remaining servers are not attempted. Servers the requester may not act on, or that are not eligible, are skipped and the run continues. A resource runs one install at a time.

## Setup

1. Sync the repository, then restart the web service (`httpd`) so the new routes load, and confirm the extension is enabled under Admin > Extensions.
Expand Down
14 changes: 12 additions & 2 deletions extensions/XUI-wqrj0e3p/XUI-wqrj0e3p_metadata.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"description": "Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, and a nightly re-match.",
"description": "Finds known CVEs on Linux servers (from a software list) and Windows Server 2022 and 2025 servers (from the Windows build and installed updates) by matching them against vulnerability data on the appliance, with a tab on servers and on resources, a search across all servers, a nightly re-match, and an optional action that installs updates, restarts if needed and rescans.",
"enabled": true,
"icon_url": "",
"id": "XUI-wqrj0e3p",
"label": "Vulnerabilities",
"last_updated": "2026-11-23",
"last_updated": "2026-11-24",
"maximum_version_required": "",
"minimum_version_required": "8.6",
"name": "io_cloudbolt_vulnerabilities",
Expand All @@ -25,10 +25,20 @@
"vuln_rematch_job.py",
"vuln_inventory_job.py",
"vuln_provision_job.py",
"vuln_patch.py",
"vuln_patch.sh",
"vuln_patch_job.py",
"vuln_patch_condition.py",
"vuln_patch_resource.py",
"vuln_resource_patch_job.py",
"vuln_resource_patch_condition.py",
"vuln_api.py",
"vuln_resource_job.py",
"vuln_scan.sh",
"vuln_msrc.py",
"vuln_scan_windows.ps1",
"vuln_wintask.py",
"vuln_patch_windows.ps1",
"templates/vuln_styles.html",
"templates/vuln_assets.html",
"templates/vuln_tab.html",
Expand Down
Loading
Loading