Products

Solutions

Resources

/

/

Descriptive Error Message Using invalid payloads

Descriptive Error Message Using invalid payloads

Verifies error messages for sensitive information leakage, specifically preventing the exposure of stack traces, enhancing application security.

Verbose Error Messages (VEM)

"The DESCRIPTIVE_ERROR_MESSAGE test ensures that error messages do not leak sensitive information, specifically avoiding the exposure of stack traces. It verifies that error messages provide useful and informative feedback without disclosing implementation details, reducing the risk of exposing vulnerabilities and aiding in maintaining the security and integrity of the application."

"The DESCRIPTIVE_ERROR_MESSAGE test ensures that error messages do not leak sensitive information, specifically avoiding the exposure of stack traces. It verifies that error messages provide useful and informative feedback without disclosing implementation details, reducing the risk of exposing vulnerabilities and aiding in maintaining the security and integrity of the application."

Impact of the vulnerability

Impact of the vulnerability

This information can be used to facilitate more sophisticated attacks on your application

This information can be used to facilitate more sophisticated attacks on your application

How this template works

APIs Selection

The template uses the "contains_either" filter to select API requests that have the HTTP methods "PUT", "POST", or "PATCH". This filter ensures that only these specific methods are targeted for testing.

Execute request

The template specifies a single request to be executed. It replaces the request body with a random payload containing special characters and emojis. This payload is used to test the error messages generated by the API when invalid payloads are provided.

Validation

The template validates the response payload by checking if it contains any of the specified keywords such as "column", "row", "line", "function", "class", "stack", or "trace". If any of these keywords are found in the response, it indicates that sensitive information may be leaked in the error messages, which can be exploited by attackers.

Frequently asked questions

What is the purpose of the DESCRIPTIVE_ERROR_MESSAGE test

What is the purpose of the DESCRIPTIVE_ERROR_MESSAGE test

What is the purpose of the DESCRIPTIVE_ERROR_MESSAGE test

How does the DESCRIPTIVE_ERROR_MESSAGE test impact application security

How does the DESCRIPTIVE_ERROR_MESSAGE test impact application security

How does the DESCRIPTIVE_ERROR_MESSAGE test impact application security

What is the category and subcategory of the DESCRIPTIVE_ERROR_MESSAGE test

What is the category and subcategory of the DESCRIPTIVE_ERROR_MESSAGE test

What is the category and subcategory of the DESCRIPTIVE_ERROR_MESSAGE test

What are the severity and impact levels associated with the DESCRIPTIVE_ERROR_MESSAGE test

What are the severity and impact levels associated with the DESCRIPTIVE_ERROR_MESSAGE test

What are the severity and impact levels associated with the DESCRIPTIVE_ERROR_MESSAGE test

What are the recommended HTTP methods for applying the DESCRIPTIVE_ERROR_MESSAGE test

What are the recommended HTTP methods for applying the DESCRIPTIVE_ERROR_MESSAGE test

What are the recommended HTTP methods for applying the DESCRIPTIVE_ERROR_MESSAGE test

What are the references for further information on improper error handling

What are the references for further information on improper error handling

What are the references for further information on improper error handling

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.