CVE-2006-4542 Cross-site scripting in n/a

Medium 6.8 Published Updated

Remote attackers can exploit null byte handling flaws to perform XSS, read source code, and potentially execute programs in Webmin and Usermin.

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-4542?

CVE-2006-4542 is a medium-severity cross-site scripting vulnerability in Webmin Webmin, published on 5 Sep 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

Webmin before 1.296 and Usermin before 1.226 do not properly handle a URL with a null ("%00") character, which allows remote attackers to conduct cross-site scripting (XSS), read CGI program source code, list directories, and possibly execute programs.

Weakness: CWE-79

Which versions are affected by CVE-2006-4542?

It affects 2 products.

Products include Usermin Usermin, Webmin Webmin.

How do I fix CVE-2006-4542?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2006-4542 being exploited?

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

All Webmin Webmin vulnerabilities

Sources

Also known as GHSA-r78v-6mh4-m4rm.

Is CVE-2006-4542 in your software?

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

Check your SBOMs for free