Business Logic
How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the API requests to be executed. In this case, the filters include the response code range (between 200 and 299) and the extraction of the "urlVar" from the response.
Execute request
The execute section defines the type of request to be executed. In this template, it is a single request. The request is modified using the "modify_url" action, which appends the URL paths from the "urlPaths" word list to the original URL.
Validation
The validation section specifies the conditions that the response should meet to be considered valid. In this template, the response code should be equal to 200, and the response payload should contain both "images_dir" and "css_dir" strings. If the response meets these conditions, it is considered valid.
Frequently asked questions
What is the purpose of the "CONFIG_RUBY" array in this test
How does the vulnerability of "Config Ruby File Disclosure" occur
What are the potential consequences of the "Config Ruby File Disclosure" vulnerability
What category and subcategory does the "Config Ruby File Disclosure" vulnerability fall under
How does the test identify potential vulnerable URLs
How does the test validate if a URL is vulnerable to the "Config Ruby File Disclosure" 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