CVE-2006-4942 Path traversal in n/a

Medium 4.6 Published Updated

Authenticated users can write files to the top-level data directory in Moodle when specific filters are missing, potentially modifying data.

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

What is CVE-2006-4942?

CVE-2006-4942 is a medium-severity path traversal vulnerability in Moodle Moodle, published on 23 Sep 2006. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Moodle before 1.6.2, when the configuration lacks (1) algebra or (2) tex filters, allows remote authenticated users to write LaTeX or MimeTeX output files to the top level of the dataroot directory via (a) filter/algebra/pix.php or (b) filter/tex/pix.php.

Which versions are affected by CVE-2006-4942?

It affects 1 product.

Products include Moodle Moodle.

How do I fix CVE-2006-4942?

No fix has been published for CVE-2006-4942 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2006-4942 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-c78f-pfch-h9wc.

Is CVE-2006-4942 in your software?

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

Check your SBOMs for free