Atlassian Bitbucket Pipelines Configuration Detected

medium Web App Scanning Plugin ID 113141

Synopsis

Atlassian Bitbucket Pipelines Configuration Detected

Description

Bitbucket is a popular Git-based Source Code Management system (SCM) provided by Atlassian as both a cloud and an on-premise service. Bitbucket Pipelines is an integrated Continuous Integration and Continuous Development (CI/CD) feature of Bitbucket, offering automatic builds, tests and deployments through a configuration file named `bitbucket-pipelines.yml`.

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

Solution

Ensure that the `bitbucket-pipelines.yml` 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://bitbucket.org/product

https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/

Plugin Details

Severity: Medium

ID: 113141

Type: remote

Published: 2/15/2022

Updated: 2/15/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

Reference Information