Products

Solutions

Resources

/

/

MongoDB credential disclosure

MongoDB credential disclosure

MongoDB credentials file used by RoboMongo

Security Misconfiguration (SM)

"The template searches for the presence of MongoDB credentials file (robomongo.json) at the specified URLs. This file contains sensitive information such as the database name, username, password, and server host."

"The template searches for the presence of MongoDB credentials file (robomongo.json) at the specified URLs. This file contains sensitive information such as the database name, username, password, and server host."

Impact of the vulnerability

Impact of the vulnerability

The exposure of MongoDB credentials can lead to unauthorized access and manipulation of the database, compromising the confidentiality and integrity of the data stored within.

The exposure of MongoDB credentials can lead to unauthorized access and manipulation of the database, compromising the confidentiality and integrity of the data stored within.

How this template works

APIs Selection

The template uses API selection filters to specify the desired 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. The modified URLs are used to check for the presence of the MongoDB credentials file.

Validation

The template validates the response by checking if the response code is equal to 200, if the response payload contains specific keywords related to MongoDB credentials, and if the response headers contain the value "application/json". If all validation conditions are met, the vulnerability is considered to be present.

Frequently asked questions

What is the purpose of this test

What is the purpose of this test

What is the purpose of this test

How does the test determine if the MongoDB credentials file is present

How does the test determine if the MongoDB credentials file is present

How does the test determine if the MongoDB credentials file is present

What URLs does the test check for the MongoDB credentials file

What URLs does the test check for the MongoDB credentials file

What URLs does the test check for the MongoDB credentials file

How does the test modify the URL for the requests

How does the test modify the URL for the requests

How does the test modify the URL for the requests

What criteria are used to validate the response of the requests

What criteria are used to validate the response of the requests

What criteria are used to validate the response of the requests

What is the potential impact of MongoDB credentials exposure

What is the potential impact of MongoDB credentials exposure

What is the potential impact of MongoDB credentials exposure

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.