CVE-2006-4942 Path traversal in n/a
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.
Other vulnerabilities in Moodle Moodle
- CVE-2006-4935 File upload in n/a
- CVE-2006-4936 Moodle does not properly validate module instance id
- CVE-2004-2233 Unknown "front page vulnerability with Moodle servers" for Moodle before 1.3.2 has unknown impact and attack vectors.
- CVE-2004-2235 Cross-site scripting in n/a
- CVE-2004-2236 Other in n/a
Sources
Also known as GHSA-c78f-pfch-h9wc.