CVE-2024-35175
sshpiper is a reverse proxy for sshd. Starting in version 1.0.50 …
sshpiper is a reverse proxy for sshd. Starting in version 1.0.50 and prior to version 1.3.0, the way the proxy protocol listener is implemented in sshpiper can allow an attacker to forge their connecting address. Commit 2ddd69876a1e1119059debc59fe869cb4e754430 added the proxy protocol listener as the only listener in sshpiper, with no option to toggle this functionality off. This means that any connection that sshpiper is directly (or in some cases indirectly) exposed to can use proxy protocol to forge its source address. Any users of sshpiper who need logs from it for whitelisting/rate limiting/security investigations could have them become much less useful if an attacker is sending a spoofed source address. Version 1.3.0 contains a patch for the issue.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/tg123/sshpiper/commit/2ddd69876a1e1119059debc59fe869cb4e754430
- github.com/tg123/sshpiper/commit/70fb830dca26bea7ced772ce5d834a3e88ae7f53
- github.com/tg123/sshpiper/security/advisories/GHSA-4w53-6jvp-gg52
- nvd.nist.gov/vuln/detail/CVE-2024-35175
- github.com/advisories/GHSA-4w53-6jvp-gg52
- nvd.nist.gov/vuln/detail/CVE-2024-35175
- cve.org/CVERecord?id=CVE-2024-35175
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.