
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
This repository is used to configure IBM Verify Identity Access (IVIA), and IBM Security Verify Access (ISVA) using a yaml file of the required configuration.
This project aims to be idempotent, ie if the configuration is run multiple times on the same appliance it should not break and should pick up any configuration changes in the yaml configuration file.
Documentation for using this library can be found on Verify Identity Access Automated Configurator's GitHub pages.
To get started several example deployments are available in the Examples directory. The example yaml files must be updated with deployment specific parameters, usually this is network addresses and IVIA activation codes.
IVIA_CONFIG_BASE
:: directory which contains the YAML configuration file as well as any http template pages, PKI,
mapping rules, ect.ISVA_CONFIG_BASE
= directory which contains the YAML configuration file as well as any http template
pages, PKI, mapping rules, ect.IVIA_CONFIG_YAML
:: path to IVIA configuration yaml file. Path should be relative to IVIA_CONFIG_BASE
ISVA_CONFIG_YAML
:: path to IVIA configuration yaml file. Path should be relative to IVIA_CONFIG_BASE
IVIA_MGMT_BASE_URL
:: address to access IVIA LMI, eg. https://<isva appliance>:<isva port>. This property can
also be specified in the configuration yaml file. If present, this property will take precedence.ISVA_MGMT_BASE_URL
:: address to access IVIA LMI, eg. https://<isva appliance>:<isva port>. This
property can also be specified in the configuration yaml file. If present, this property will
take precedence.IVIA_MGMT_USER
:: The user to perform configuration as. If not supplied the admin
user is used.ISVA_MGMT_USER
:: The user to perform configuration as. If not supplied the admin
user is used.IVIA_MGMT_PWD
:: administrator password for the administrator account performing configuration. This property can
also be specified in the configuration yaml file. If present, this property will take precedence.ISVA_MGMT_PWD
:: Password for the administrator account performing configuration. This
property can also be specified in the configuration yaml file. If present, this property will
take precedence.IVIA_MGMT_OLD_PWD
:: If a password change for the administrator account (eg. from the default) is required, the old
password can be specified with this environment variable. If present the administrator's password
will be changed from MGMT_OLD_PASSWORD
to MGMT_PASSWORD
ISVA_MGMT_OLD_PWD
:: if a password change for the administrator account (eg. from the default) is
required, the old password can be specified with this environment variable. If present the
administrator's password will be changed from MGMT_OLD_PASSWORD
to MGMT_PASSWORD
IVIA_KUBERNETES_YAML_CONFIG
(optional) :: path to Kubernetes configuration yaml for kubernetes deployments.
ISVA_KUBERNETES_YAML_CONFIG
(optional) :: path to Kubernetes configuration yaml for kubernetes
deployments.IVIA_EXT_USER
:: The user to continue configuration as once the Management Authentication configuration has been
applied. This may be required if you are using an external LDAP registry or OIDC identity provider
for management authentication. If external authentication has previously been configured, then
the credentials should be set as the IVIA_MGMT_USER
and IVIA_MGMT_PWD
properties.IVIA_EXT_PWD
:: The administrator password (or API token) to authenticate to the IVIA LMI as IVIA_EXT_USER
.IBM Verify Identity Access Configuration Automation is simple to run locally.
python -m ibmvia_autoconf
IBM Verify Identity Access Automated Configurator can also be run within a docker container. Use to Dockerfile to build a local docker image.
The docker container can be built and run with the following command executed from the top level directory of the configurator source code. When starting the container the required environment variables must be set and the docker container must be able to route to the IVIA appliances/containers which are to be configured.
docker build --no-cache --force-rm -t verify-identity-access-configurator .
docker run --volume /path/to/config/yaml:/config \
--env "IVIA_CONFIGURATION_BASE_DIR=/config" \
--env IVIA_MGMT_BASE_URL="https://<mgmt address>:<mgmt port>" \
--env "IVIA_MGMT_PASSWORD=Passw0rd1!" \
verify-identity-access-configurator
IBM Verify Identity Access Automated Configurator can be run from within a Kubernetes cluster. This is useful if there are routing issues between the deployment host and the kubernetes external addresses this option will allow for configuration using the kubernetes internal network.
Here is an example Kubernetes batch" object which deploys a container to apply a configuration to a cluster.
note This requires a user to create the
verify-config
ConfigMap object with the required configuration files plus any additional Secrets which are referenced as environment variables.
apiVersion: batch/v1
kind: Job
metadata:
name: verify-identity-access-configurator
spec:
template:
spec:
containers:
- name: verify-identity-access-configurator
image: python:latest
command:
- "bash"
- "-c"
- |
pip install ibmvia-autoconf
python3 -m ibmvia_autoconf
volumeMounts:
- name: verify-access-config-vol
mountPath: /verify_access_config
envFrom:
- secretRef:
name: verify-access-autoconf-env
restartPolicy: Never
volumes:
- name: verify-config
configMap:
- name: verify-access-config-vol
emptyDir: {}
initContainers:
- name: config-volume-builder
image: python:latest
volumeMounts:
- mountPath: /verify_access_config
name: verify-access-config-vol
- mountPath: /tmp/verify_access_config
name: verify-config
command:
- "bash"
- "-c"
- |
apt update && apt install -y unzip;
cp /tmp/verify_access_config/*.{p12,pem,yaml} /verify_access_config/
unzip /tmp/verify_access_config/mapping_rules.zip -d /verify_access_config/
backoffLimit: 4
To build locally:
mkdir .pyenv
virtualenv .pyenv
source .pyenv/bin/activate
pip install -r dev-requirements.txt
python setup.py sdist bdist_wheel
The generated wheel can then be installed into a docker container and used in any supported container runtime.
FAQs
YAML based configuration automation for IBM Verify Identity Access
We found that ibmvia-autoconf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.