CVE-2006-0225 Command injection in n/a

Medium 4.6 Published Updated

Attackers can execute arbitrary commands on the client system by providing filenames with shell metacharacters to the scp utility.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2006-0225?

CVE-2006-0225 is a medium-severity command injection vulnerability in OpenSSH, published on 25 Jan 2006. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

scp in OpenSSH 4.2p1 allows attackers to execute arbitrary commands via filenames that contain shell metacharacters or spaces, which are expanded twice.

Which versions are affected by CVE-2006-0225?

It affects 1 product.

Linux distribution packages (24)
openssh Red Hat:enterprise_linux:4::asAll versions0:3.9p1-8.RHEL4.12
openssh-askpass Red Hat:enterprise_linux:4::asAll versions0:3.9p1-8.RHEL4.12
openssh-askpass-gnome Red Hat:enterprise_linux:4::asAll versions0:3.9p1-8.RHEL4.12
openssh-clients Red Hat:enterprise_linux:4::asAll versions0:3.9p1-8.RHEL4.12
openssh-debuginfo Red Hat:enterprise_linux:4::asAll versions0:3.9p1-8.RHEL4.12
openssh-server Red Hat:enterprise_linux:4::asAll versions0:3.9p1-8.RHEL4.12
openssh Red Hat:enterprise_linux:4::desktopAll versions0:3.9p1-8.RHEL4.12
openssh-askpass Red Hat:enterprise_linux:4::desktopAll versions0:3.9p1-8.RHEL4.12
openssh-askpass-gnome Red Hat:enterprise_linux:4::desktopAll versions0:3.9p1-8.RHEL4.12
openssh-clients Red Hat:enterprise_linux:4::desktopAll versions0:3.9p1-8.RHEL4.12
openssh-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:3.9p1-8.RHEL4.12
openssh-server Red Hat:enterprise_linux:4::desktopAll versions0:3.9p1-8.RHEL4.12
openssh Red Hat:enterprise_linux:4::esAll versions0:3.9p1-8.RHEL4.12
openssh-askpass Red Hat:enterprise_linux:4::esAll versions0:3.9p1-8.RHEL4.12
openssh-askpass-gnome Red Hat:enterprise_linux:4::esAll versions0:3.9p1-8.RHEL4.12
openssh-clients Red Hat:enterprise_linux:4::esAll versions0:3.9p1-8.RHEL4.12
openssh-debuginfo Red Hat:enterprise_linux:4::esAll versions0:3.9p1-8.RHEL4.12
openssh-server Red Hat:enterprise_linux:4::esAll versions0:3.9p1-8.RHEL4.12
openssh Red Hat:enterprise_linux:4::wsAll versions0:3.9p1-8.RHEL4.12
openssh-askpass Red Hat:enterprise_linux:4::wsAll versions0:3.9p1-8.RHEL4.12
openssh-askpass-gnome Red Hat:enterprise_linux:4::wsAll versions0:3.9p1-8.RHEL4.12
openssh-clients Red Hat:enterprise_linux:4::wsAll versions0:3.9p1-8.RHEL4.12
openssh-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:3.9p1-8.RHEL4.12
openssh-server Red Hat:enterprise_linux:4::wsAll versions0:3.9p1-8.RHEL4.12

Products include OpenSSH.

How do I fix CVE-2006-0225?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2006-0225 being exploited?

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

All OpenSSH vulnerabilities

Sources

Also known as DEBIAN-CVE-2006-0225, GHSA-fjc8-474c-2xx3, RHSA-2006:0044.

Is CVE-2006-0225 in your software?

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

Check your SBOMs for free