HashiCorp Vagrant Configuration Detected

medium Web App Scanning Plugin ID 113167

Synopsis

HashiCorp Vagrant Configuration Detected

Description

HashiCorp Vagrant is an open-source software designed to help developers building and maintaining portable virtual software development environments. By defining a file named `Vagrantfile`, developers can describe the configuration of these environments and how to provision them.

When exposed with the web application, this file can be used by an attacker to gain access to sensitive information.

Solution

Ensure that the `Vagrantfile` file is not deployed with the application or, at least, is not exposed in a web server directory by setting proper permissions on it. If sensitive information like credentials are leaked in the exposed file, they should be revoked and reset on the affected assets.

See Also

https://www.vagrantup.com/

https://www.vagrantup.com/docs/vagrantfile

Plugin Details

Severity: Medium

ID: 113167

Type: remote

Published: 3/11/2022

Updated: 3/11/2022

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Reference Information