CVE-2006-5925 Command injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via shell metacharacters in smb:// URIs if smbclient is installed, requiring user interaction.

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

What is CVE-2006-5925?

CVE-2006-5925 is a high-severity command injection vulnerability in n/a, published on 15 Nov 2006. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Links web browser 1.00pre12 and Elinks 0.9.2 with smbclient installed allows remote attackers to execute arbitrary code via shell metacharacters in an smb:// URI, as demonstrated by using PUT and GET statements.

Which versions are affected by CVE-2006-5925?

It affects 2 products.

Linux distribution packages (9)
elinks Red Hat:enterprise_linux:4::asAll versions0:0.9.2-3.3
elinks-debuginfo Red Hat:enterprise_linux:4::asAll versions0:0.9.2-3.3
elinks Red Hat:enterprise_linux:4::desktopAll versions0:0.9.2-3.3
elinks-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:0.9.2-3.3
elinks Red Hat:enterprise_linux:4::esAll versions0:0.9.2-3.3
elinks-debuginfo Red Hat:enterprise_linux:4::esAll versions0:0.9.2-3.3
elinks Red Hat:enterprise_linux:4::wsAll versions0:0.9.2-3.3
elinks-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:0.9.2-3.3
elinks openSUSE:TumbleweedAll versions0.13~0.20190723-1.14

Products include Elinks Elinks, Links Links.

How do I fix CVE-2006-5925?

Apply the vendor's patch.

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

Is CVE-2006-5925 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-5925 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2006-5925, DSA-1226-1, DSA-1228-1, DSA-1240-1, GHSA-q6h6-5c8f-jx3g, RHSA-2006:0742 and 1 more.

Is CVE-2006-5925 in your software?

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

Check your SBOMs for free