CVE-2008-1657 Security feature bypass in n/a

Medium 6.5 Published Updated

Authenticated users can bypass ForceCommand restrictions in OpenSSH by modifying their .ssh/rc file, allowing execution of unauthorized commands.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2008-1657?

CVE-2008-1657 is a medium-severity vulnerability in OpenSSH, published on 2 Apr 2008. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenSSH 4.4 up to versions before 4.9 allows remote authenticated users to bypass the sshd_config ForceCommand directive by modifying the .ssh/rc session file.

Weakness: CWE-264

Which versions are affected by CVE-2008-1657?

It affects 1 product.

Products include OpenSSH.

How do I fix CVE-2008-1657?

Upgrade to a fixed version.

Is CVE-2008-1657 being exploited?

There is no known exploitation of CVE-2008-1657 in the wild and no public exploit code.

All OpenSSH vulnerabilities

Sources

Also known as DEBIAN-CVE-2008-1657, GHSA-4fmw-7mgw-xgw8.

Is CVE-2008-1657 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free