CVE-2019-3786 BBR could run arbitrary scripts on deployment VMs

High 7.7 Published Updated

Authenticated attackers can execute arbitrary scripts on deployment VMs by manipulating BBR metadata, affecting Cloud Foundry BBR CLI users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-3786?

CVE-2019-3786 is a high-severity code injection vulnerability in Cloud Foundry BOSH Backup and Restore, published on 24 Apr 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Cloud Foundry BOSH Backup and Restore CLI, all versions prior to 1.5.0, does not check the authenticity of backup scripts in BOSH. A remote authenticated malicious user can modify the metadata file of a Bosh Backup and Restore job to request extra backup files from different jobs upon restore. The exploited hooks in this metadata script were only maintained in the cfcr-etcd-release, so clusters deployed with the BBR job for etcd in this release are vulnerable.

Weakness: CWE-345, CWE-269

Which versions are affected by CVE-2019-3786?

It affects 1 product.

Products include Cloudfoundry Bosh Backup and Restore.

How do I fix CVE-2019-3786?

No fix has been published for CVE-2019-3786 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-3786 being exploited?

There is no known exploitation of CVE-2019-3786 in the wild and no public exploit code.

Sources

Also known as GHSA-xr6m-h5m8-p48r.

Is CVE-2019-3786 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free