Config File Exposure
Attacker can get unauthorized access to JSON configuration files.
Security Misconfiguration (SM)
How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the APIs to be tested. In this case, the filters include the response code range (between 200 and 299) and the extraction of the URL variable.
Execute request
The execute section defines the type of request to be made and the modifications to be applied to the URL. In this template, a single request is made, and the URL is modified using the URL paths specified in the wordLists section.
Validation
The validation section defines the criteria for validating the response of the executed request. In this template, the response code is expected to be 200, and the response payload should contain either the strings "api_keys", "aws", or "server". If these conditions are met, the vulnerability is considered present.
Frequently asked questions
What is the purpose of this test
How does the test identify misconfigurations
What are the potential risks associated with JSON configuration file exposure
How does the test validate the presence of sensitive information
What is the severity level assigned to this vulnerability
Are there any references or resources available for further information
"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