New year, old tricks: Hunting for CircleCI configuration files

Published: 2023-01-09
Last Updated: 2023-01-09 16:33:54 UTC
by Johannes Ullrich (Version: 1)
0 comment(s)

I have written before about attackers looking for exposed configuration files. Configuration files often include credentials or other sensitive information.Today, I noticed some scans for a files called "/.circleci/config.yml". Given the recent breach at CircleCI, I dug in a bit deeper.

Spoiler alert: This is not related to the breach. Sometimes organizations lose credentials all by themselves without any third party help.

This configu file is indeed "interesting" if it can be found. For the pre-cloud native people around here: Compare it to a Makefile. It describes how to build a certain project using CircleCI, and it may contain credentials as needed. For example, see the example from https://circleci.com/docs/sample-config/ :

Scans for the file have been ongoing at a low level for a while now

Including scans for these related URLs:

/.circleci/ssh-config
/.circleci/config.yml
/.circleci/circle.yml
/config/database.yml.circleci
/.circleci/

Currently, these 2 IPs are searching for .circleci/config.yml

139.99.120.65 and 139.99.123.180 .

Both are located at OVH, a cloud provider known for harboring many compromised systems. But otherwise, the IPs are not very remarkable. The IPs are scanning for various other configuration files and vulnerabilities. For example:

/wp-config.php.back
/php_info.php
/.env.bak
/.config
/config.json

(42 similar once today alone)

In short: If you leave your configuration files in your document root exposed: They will be found!

---
Johannes B. Ullrich, Ph.D. , Dean of Research, SANS.edu
Twitter|

Keywords:
0 comment(s)
ISC Stormcast For Monday, January 9th, 2023 https://isc.sans.edu/podcastdetail.html?id=8316

Comments

cwqwqwq
eweew<a href="https://www.seocheckin.com/edu-sites-list/">mashood</a>
WQwqwqwq[url=https://www.seocheckin.com/edu-sites-list/]mashood[/url]
dwqqqwqwq mashood
[https://isc.sans.edu/diary.html](https://isc.sans.edu/diary.html)
[https://isc.sans.edu/diary.html | https://isc.sans.edu/diary.html]
What's this all about ..?
password reveal .
<a hreaf="https://technolytical.com/">the social network</a> is described as follows because they respect your privacy and keep your data secure:

<a hreaf="https://technolytical.com/">the social network</a> is described as follows because they respect your privacy and keep your data secure. The social networks are not interested in collecting data about you. They don't care about what you're doing, or what you like. They don't want to know who you talk to, or where you go.

<a hreaf="https://technolytical.com/">the social network</a> is not interested in collecting data about you. They don't care about what you're doing, or what you like. They don't want to know who you talk to, or where you go. The social networks only collect the minimum amount of information required for the service that they provide. Your personal information is kept private, and is never shared with other companies without your permission
https://thehomestore.com.pk/

Diary Archives