/

/

SSH Known Hosts

SSH Known Hosts

Exposed SSH Known Hosts

Security Misconfiguration (SM)

"Identifies publicly accessible SSH known_hosts files, which store fingerprints of SSH servers. Unintentionally exposing these files can disclose information about previously accessed SSH servers."

"Identifies publicly accessible SSH known_hosts files, which store fingerprints of SSH servers. Unintentionally exposing these files can disclose information about previously accessed SSH servers."

Impact of the vulnerability

Impact of the vulnerability

Exposing SSH known_hosts files enables attackers to gather information about previously accessed SSH servers, increasing the risk of unauthorized access and potential compromise.

Exposing SSH known_hosts files enables attackers to gather information about previously accessed SSH servers, increasing the risk of unauthorized access and potential compromise.

How this template works

APIs Selection

The API selection filters in this template specify the criteria for selecting the API endpoints to be tested. In this case, the filters include the response code range (between 200 and 299) and the extraction of the "url" variable from the response.

Execute request

The execute section of the template defines the type of request to be executed. In this case, it is a single request. The request includes a modification of the URL using the "urlPaths" word list, which contains two possible paths for the known_hosts file.

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 at least one of the specified SSH key types ("ssh-dss", "ssh-ed25519", "ssh-rsa", "ecdsa-sha2-nistp256").

Frequently asked questions

What is the purpose of the SSH Known Hosts array in this test

What is the purpose of the SSH Known Hosts array in this test

What is the purpose of the SSH Known Hosts array in this test

How does exposing SSH known_hosts files increase the risk of unauthorized access and potential compromise

How does exposing SSH known_hosts files increase the risk of unauthorized access and potential compromise

How does exposing SSH known_hosts files increase the risk of unauthorized access and potential compromise

What is the impact severity level assigned to the SSH_KNOWN_HOSTS subcategory

What is the impact severity level assigned to the SSH_KNOWN_HOSTS subcategory

What is the impact severity level assigned to the SSH_KNOWN_HOSTS subcategory

What are the URL paths that are checked for the presence of SSH known_hosts files

What are the URL paths that are checked for the presence of SSH known_hosts files

What are the URL paths that are checked for the presence of SSH known_hosts files

What are the expected response code and payload for a valid SSH known_hosts file

What are the expected response code and payload for a valid SSH known_hosts file

What are the expected response code and payload for a valid SSH known_hosts file

What is the purpose of the "validate" section in the test configuration

What is the purpose of the "validate" section in the test configuration

What is the purpose of the "validate" section in the test configuration

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.