/

/

Detect Private SSH, TLS, and JWT Keys

Detect Private SSH, TLS, and JWT Keys

Detects the presence of private SSH, TLS, and JWT keys on the server.

Security Misconfiguration (SM)

"Scans the specified URLs for files containing private keys commonly used for SSH, TLS, and JWT authentication. The presence of these keys could indicate a misconfiguration or insecure handling of sensitive cryptographic material."

"Scans the specified URLs for files containing private keys commonly used for SSH, TLS, and JWT authentication. The presence of these keys could indicate a misconfiguration or insecure handling of sensitive cryptographic material."

Impact of the vulnerability

Impact of the vulnerability

Exposing private keys can lead to unauthorized access and compromise the security and integrity of the server and associated services.

Exposing private keys can lead to unauthorized access and compromise the security and integrity of the server and associated services.

How this template works

APIs Selection

The API selection filters in this template specify the criteria for selecting the URLs to be scanned for private keys. It filters the URLs based on the response code, ensuring that only URLs with a response code between 200 and 299 are considered. It also extracts the URL variable from the response for further use.

Execute request

The execute section of the template defines a single request to be executed. It modifies the URL by appending the URL paths from the wordLists section to the URL variable extracted in the API selection filters. This creates a list of URLs to be scanned for private keys.

Validation

The validation section specifies the criteria for validating the response of the executed request. It checks that the response code is equal to 200 and that the response payload contains one of the specified private key indicators. It also ensures that the response payload does not contain any HTML tags, indicating that the response is not an error page.

Frequently asked questions

What is the purpose of this test

What is the purpose of this test

What is the purpose of this test

What are the potential impacts of exposing private keys

What are the potential impacts of exposing private keys

What are the potential impacts of exposing private keys

What category and severity level does this test fall under

What category and severity level does this test fall under

What category and severity level does this test fall under

What are the references for further information on TLS and SSH vulnerabilities

What are the references for further information on TLS and SSH vulnerabilities

What are the references for further information on TLS and SSH vulnerabilities

What are the specific URL paths that will be checked for private keys

What are the specific URL paths that will be checked for private keys

What are the specific URL paths that will be checked for private keys

What are the validation criteria for a successful test

What are the validation criteria for a successful test

What are the validation criteria for a successful test

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.