circleci config.yml exposure
Attacker can get unauthorized access to the CircleCI config.yml file.
Security Misconfiguration (SM)
How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the API endpoint to be tested. In this case, the filters include the response code range (between 200 and 299) and the extraction of the URL as a variable called "urlVar".
Execute request
The execute section defines the type of request to be executed, which is a single request in this case. It also specifies the modifications to be made to the URL by appending "/.circleci/config.yml" and enabling follow redirects.
Validation
The validation section defines the criteria for validating the response received from the API endpoint. It checks that the response code is equal to 200 and that the response payload contains both the strings "version" and "jobs".
Frequently asked questions
What is the purpose of the "CircleCI Config.yml Exposure" vulnerability test
How does the test determine if the CircleCI config.yml file is exposed
What is the impact of exposing the CircleCI config.yml file
What category and subcategory does this vulnerability fall under
What is the severity level of this vulnerability
Are there any references or resources available for further information on this vulnerability
"The text editor in Akto is absolutely remarkable. Its user-friendly YAML format strikes the perfect balance between simplicity and power. With intuitive features like 'API selection filter', 'Execute', Validate' creating test rules becomes incredibly easy. Akto's test editor is a game-changer, enabling seamless creation of highly personalized and effective tests that could meet the needs of any modern day organization. "

Security team,
Rippling
Explore other tests
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
CGI script environment variable