Skip to content
Crypto Disclosed report Intermediate

SSH server compatible with several vulnerable cryptographic algorithms

The SSH server supported outdated cryptographic algorithms, RC4 for encryption and SHA1 for MAC. An attacker could potentially perform a man-in-the-middle attack to decrypt data and obtain sensitive information such as passwords.

northivanastan Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 5 days
  • Paid in 5 days
  • Disclosed after 10 days

Summary by the researcher

As soon as ssh.fr.cloud.gov was added to scope, I decided to test the server for security issues. Three SSH ports were open, so I checked the algorithms that were in use. I found that the server used RC4 for secure transmission and SHA1 for MAC addresses. These are algorithms for which attacks are known that are thousands of times faster than brute force. Apparently this was the default configuration of cloud.gov's cloudfoundry installation. This was fixed by manually configuring AES, SHA2, and curve25516.

The report

An ssh-audit scan found that ssh.fr.cloud.gov supports sha1 for various purposes(including exclusively for MAC addresses), as well as arcfour. Both of these are outdated and known vulnerable.

The algorithms used are also indicative of an outdated SSH version (OpenSSH 6 or Dropbear 2013). It's probably a good idea to upgrade.

The output of ssh-audit is attached.

Impact

A man-in-the-middle attack may expose data encrypted with arcfour and/or hashed with sha1, which can then be decrypted to find things like passwords or payloads sent over SSH.

The original report as published on HackerOne, by northivanastan. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the SSH server was left with default settings that enabled weak, outdated cryptographic algorithms.

Impact

A man-in-the-middle attack may expose data encrypted with arcfour and/or hashed with sha1, which can then be decrypted to find things like passwords or payloads sent over SSH.

What the attacker needed

Ability to intercept network traffic

The fix

The issue was fixed by manually configuring the SSH server to use AES, SHA2, and curve25516.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

SSH is a protocol for securely connecting to remote computers. It uses encryption to keep data private and hashing to ensure integrity. This server used old, weak methods (RC4 and SHA1) that are easier to break, so someone intercepting the connection might read or alter the data.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More from GSA Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.