Skip to content

About

A tool dedicated to process, analyze and propagate arbitrary vulnerability scanner reports!

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

11 stars

Watchers

1 watching

Forks

VulnerabilityHub

codecov E2E Tests GitHub branch status GitHub last commit

VulnerabilityHub logo

Caution

Development status: pre-alpha. All 0.x versions are prereleases and may introduce breaking changes. Production use is not recommended. Stable maintenance begins with v1.0.0.

Releases · Documentation

Initial installation

Use a Linux AMD64 host with Docker Engine and Docker Compose 2.24 or newer. The wizard requires glibc 2.35 or newer and the libraries listed in the system requirements.

For a standard installation, prepare an HTTPS reverse proxy that forwards the entire site, including /backend, to http://127.0.0.1:8080. For local evaluation without HTTPS, use debug mode.

1. Download a release

Open the release overview and select the latest published release or a specific version. Under Assets, download vulnerabilityhub-vX.Y.Z.tar.gz or vulnerabilityhub-vX.Y.Z.zip.

Extract the archive and open a terminal in the extracted directory. The installation tool, vh-wizard, is located directly in that directory. Use the deployment archive listed above; GitHub's Source code downloads do not contain the compiled wizard.

Verify the extracted files before running the wizard:

sha256sum --check SHA256SUMS

Older release archives name the tool vh-update. In that case, run mv vh-update vh-wizard after verification and continue with the steps below.

Optional: download and extract the archive from the command line

Replace vX.Y.Z with the published tag. This downloads and extracts the archive in the current directory. Change into vulnerabilityhub-vX.Y.Z and continue with the verification above.

RELEASE=vX.Y.Z; curl -fLO "https://github.com/bwInfoSec/VulnerabilityHub/releases/download/$RELEASE/vulnerabilityhub-$RELEASE.tar.gz" && tar -xzf "vulnerabilityhub-$RELEASE.tar.gz"

2. Run the wizard

From the extracted release directory:

chmod +x vh-wizard
./vh-wizard install --directory ../vulnerabilityhub 

You can excplicitly set the version to install and configurations to honor via CLI options as shown below. The wizard generates credentials, downloads the signed application release, and starts the containers

Option Behaviour
--to vX.Y.Z Installs the specified published application version. Omit it to use the latest release in the selected channel.
--channel stable Required for all 0.x releases. Use --channel stable for stable releases.
--url https://vh.example.org Sets the public application address. The default is https://localhost.
--configuration /path/to/initial.env Preserves supplied environment settings and fills missing defaults. --url overrides FRONTEND_URL from this file.

A wizard update can be performed directly, if available. The tool asks for confirmation before replacing itself. The default is No, which cancels the command before deployment changes. To run the update, execute ./vh-wizard self-update

3. Create the administrator account

After installation, change to the new installation directory and display the backend logs:

cd ../vulnerabilityhub
docker logs vulnerabilityhub-backend-1

Find INITIAL_ADMIN_SETUP_SECRET=.... Open your configured application address, enter the secret in the initial setup form and choose your administrator credentials. The secret is printed once; the setup guide explains how to retrieve it again if needed.

The wizard stores supplied scanner and LDAP passwords in mounted secret files. LDAP and Greenbone credentials saved in the application are encrypted. Back up secrets/credential_encryption_key.txt separately; recovery checkpoints exclude it. See the security guide.

Configure and test SMTP in application settings before using email workflows. New local accounts require email verification and administrator approval under Manage → Disputes before they can sign in.

Local debugging with MailHog

To test out the capabilities of the VulnerabilityHub, it can be beneficial to run in a debug setup. This allows, for instance, to monitor sent mails to a local mailhog server to inspect behavior, configurations, etc. The debug mode is never meant to be run in production! To set it up, from the extracted release directory, create a separate local installation:

./vh-wizard install --directory ../vulnerabilityhub-debug --debug

Debug mode enables local HTTP, diagnostic logging and MailHog for captured email.

Service Address
VulnerabilityHub http://localhost:8080
Captured email http://localhost:8025

Complete administrator setup as described above, using the debug installation directory. Ports 8000, 8080, 1025 and 8025 must be available. Use synthetic data. Debug mode is retained during updates, recovery and rollback; --debug does not need to be repeated. See the debugging guide for details.

Apply configuration changes

./vh-wizard restart --directory /path/to/vulnerabilityhub --configuration /path/to/config.env

The wizard merges supplied values, moves credentials into secret files and recreates the application containers. Omitted values and settings saved in the UI are preserved. It keeps the installed version and data and creates a recovery checkpoint first. Omit --configuration to reload the installation's current .env and secrets.

Upgrade

Keep an independent backup. Use the wizard inside the existing installation directory, retaining its .env, secrets/, data and Compose project:

cd /path/to/vulnerabilityhub
./vh-wizard check
./vh-wizard update

The wizard verifies the release, creates recovery backups, applies migrations and checks that the application is ready. It asks before replacing its own executable.

To select a specific published application version:

./vh-wizard update --to vX.Y.Z

Recovery and rollback

If installation or an update is interrupted, correct the reported cause and run this from the installation directory:

./vh-wizard recover

To restore the previous checkpoint:

./vh-wizard rollback --accept-data-loss

Rollback restores database records, files and configuration. Changes made after the checkpoint are discarded. See the recovery and rollback guide for checkpoint selection and troubleshooting.

Remove an installation

Remove containers and networks while keeping data volumes, configuration, secrets and backups:

./vh-wizard remove --directory /path/to/vulnerabilityhub

To also permanently delete its volumes and installation directory:

./vh-wizard remove --directory /path/to/vulnerabilityhub --delete-volumes

The wizard displays the target and asks for confirmation. Removal works offline and retains Docker images. Move unrelated files out of the directory before deleting it.

To reinstall with retained volumes, keep the original installation directory and run:

./vh-wizard install --directory /path/to/vulnerabilityhub --reuse-volumes

This reuses the recorded release, configuration and secrets. Existing users and data remain. The directory must retain its .env, secrets/ and .vulnerabilityhub/ records. Use update afterwards to change versions.

Development and further documentation

Source builds and development environments are documented separately:

About

A tool dedicated to process, analyze and propagate arbitrary vulnerability scanner reports!

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages