CircleCI Configuration Detected

medium Web App Scanning Plugin ID 113157

Synopsis

CircleCI Configuration Detected

Description

CircleCI is a continuous integration service available as a Software as a Service (SaaS) based application or as a private instance and which is used to build and test software projects. By defining a configuration file named `.circleci/config.yml` in their source code repositories, developers can customize their applications build workflows.

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

Solution

Ensure that the `.circleci/config.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://circleci.com/

https://circleci.com/docs/2.0/config-intro/

Plugin Details

Severity: Medium

ID: 113157

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

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