Products

Solutions

Resources

/

/

TRACE Method Vulnerability Test

TRACE Method Vulnerability Test

The endpoint appears to accept requests with TRACE HTTP Method. The original request was replayed by replacing the method value with TRACE. The application responded with 2XX success code.

Unnecessary HTTP Methods (UHM)

"The endpoint appears to be vulnerable to unsafe HTTP methods attack. The original request was replayed by replacing the method value with TRACE. The server responded with 2XX success code. "<b>Background:</b> The TRACE method is used to invoke a remote, application-layer loop- back of the request message. TRACE allows the client to see what is being received at the other end of the request chain and use that data for testing or diagnostic information.

"The endpoint appears to be vulnerable to unsafe HTTP methods attack. The original request was replayed by replacing the method value with TRACE. The server responded with 2XX success code. "<b>Background:</b> The TRACE method is used to invoke a remote, application-layer loop- back of the request message. TRACE allows the client to see what is being received at the other end of the request chain and use that data for testing or diagnostic information.

Impact of the vulnerability

Impact of the vulnerability

TRACE method can be used for debugging purposes. It repeats the content of a request, and an attacker could steal credentials by using a client-side attack.

TRACE method can be used for debugging purposes. It repeats the content of a request, and an attacker could steal credentials by using a client-side attack.

How this template works

APIs Selection

The template uses the API selection filters to specify the desired response code range. In this case, it filters for response codes greater than or equal to 200 and less than 300, indicating a successful response.

Execute request

The template executes a single request using the modified HTTP method TRACE and adds a new header called "new_test_header" with the value "test_val". This allows the template to test if the endpoint is vulnerable to unsafe HTTP methods by replaying the original request with the modified method.

Validation

The template validates the response by checking if the response code falls within the desired range (200-299) and if the response headers contain a key called "new_test_header". This ensures that the server responded with a success code and that the added header was present in the response.

Frequently asked questions

What is the purpose of the TRACE method in HTTP

What is the purpose of the TRACE method in HTTP

What is the purpose of the TRACE method in HTTP

How does the TRACE method pose a vulnerability in this test

How does the TRACE method pose a vulnerability in this test

How does the TRACE method pose a vulnerability in this test

What is the impact of the vulnerability identified in this test

What is the impact of the vulnerability identified in this test

What is the impact of the vulnerability identified in this test

What category does this vulnerability fall under

What category does this vulnerability fall under

What category does this vulnerability fall under

Are there any recommended references or resources to learn more about this vulnerability

Are there any recommended references or resources to learn more about this vulnerability

Are there any recommended references or resources to learn more about this vulnerability

How can this vulnerability be mitigated or resolved

How can this vulnerability be mitigated or resolved

How can this vulnerability be mitigated or resolved

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.