/

/

Possible DOS attack by Pagination misconfiguration

Possible DOS attack by Pagination misconfiguration

Quite often, APIs do not impose any restrictions on the size or number of resources that can be requested by the user.

Lack of Resources & Rate Limiting (RL)

Such vulnerabilities arise when there is no max limit imposed on the number of resources returned. Typically, the number of objects to be returned is provided by a parameter in the API call. An attacker can set it as a large number.

Such vulnerabilities arise when there is no max limit imposed on the number of resources returned. Typically, the number of objects to be returned is provided by a parameter in the API call. An attacker can set it as a large number.

Impact of the vulnerability

Impact of the vulnerability

This can impact the API server performance, leading to Denial of Service (DoS). It also leaves the door open to authentication flaws such as brute force.

This can impact the API server performance, leading to Denial of Service (DoS). It also leaves the door open to authentication flaws such as brute force.

How this template works

APIs Selection

The template uses query parameters to filter the API requests. It looks for query parameters with keys that match certain regular expressions (such as "limit", "size", or "page") and extracts their corresponding values. These values are then stored as variables for later use.

Execute request

The template modifies the query parameter "limitKey" by appending a "0" to its value. This is done using the "modify_query_param" action. The modified request is then sent to the API server.

Validation

The template validates the response received from the API server. It checks that the response code is between 200 and 299 (indicating a successful response). Additionally, it compares the length of the response payload to the original length stored in the "original_length" variable. The validation passes if the response payload length is greater than the original length. Note: The template is designed to detect and mitigate the potential DOS attack caused by pagination misconfiguration in APIs. It ensures that the API server imposes a limit on the number of resources returned, preventing performance issues and potential authentication flaws.

Frequently asked questions

What is the purpose of the "PAGINATION_MISCONFIGURATION" array in this test

What is the purpose of the "PAGINATION_MISCONFIGURATION" array in this test

What is the purpose of the "PAGINATION_MISCONFIGURATION" array in this test

How does pagination misconfiguration lead to a possible Denial of Service (DoS) attack

How does pagination misconfiguration lead to a possible Denial of Service (DoS) attack

How does pagination misconfiguration lead to a possible Denial of Service (DoS) attack

What are the potential authentication flaws that can arise from pagination misconfiguration

What are the potential authentication flaws that can arise from pagination misconfiguration

What are the potential authentication flaws that can arise from pagination misconfiguration

What is the significance of the "RL" category in the array

What is the significance of the "RL" category in the array

What is the significance of the "RL" category in the array

What are some tags associated with the pagination misconfiguration vulnerability

What are some tags associated with the pagination misconfiguration vulnerability

What are some tags associated with the pagination misconfiguration vulnerability

Can you provide a reference link for further information on the pagination misconfiguration vulnerability

Can you provide a reference link for further information on the pagination misconfiguration vulnerability

Can you provide a reference link for further information on the pagination misconfiguration vulnerability

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

"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

"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

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