Products

Solutions

Resources

Search for API Security Tests

/

/

AWS S3 keys Leak

AWS S3 keys Leak

WordPress configuration file (wp-config.php) leaked, exposing AWS S3 keys and sensitive database credentials.

Security Misconfiguration (SM)

"This template searches for the presence of the wp-config.php file and checks for the presence of AWS S3 keys, database access credentials, and other sensitive information within the file."

"This template searches for the presence of the wp-config.php file and checks for the presence of AWS S3 keys, database access credentials, and other sensitive information within the file."

Impact of the vulnerability

Impact of the vulnerability

Exposing AWS S3 keys and database credentials can result in unauthorized access, data breaches, and potential compromise of the entire system's security.

Exposing AWS S3 keys and database credentials can result in unauthorized access, data breaches, and potential compromise of the entire system's security.

How this template works

APIs Selection

The template uses API selection filters to specify the response code range (between 200 and 299) and to extract the URL from the response using the "urlVar" variable.

Execute request

The template executes a single request by modifying the URL with the paths specified in the "urlPaths" word list. This allows the template to check for the presence of specific files, such as "wp-config.php-backup" and "%c0", in the URL.

Validation

The template validates the response payload by checking if it contains specific keywords, such as "access-key-id", "secret-access-key", "DB_NAME", and "DB_PASSWORD". If any of these keywords are found in the response, it indicates a potential leak of AWS S3 keys and sensitive database credentials.

Frequently asked questions

What is the purpose of this test

How does the test identify the presence of the wp-config.php file

What are the potential impacts of exposing AWS S3 keys and database credentials

What category and severity level does this test assign to the identified vulnerability

Are there any references or resources available for further understanding of S3 leaks

How does the test validate the presence of sensitive information in the response payload

Loved by security teams!

Loved by security teams!

Product Hunt Badge

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"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. "

Rippling Company logo

Security team,

Rippling

Suggest API security tests

Suggest API security tests

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.