CVE-2006-6629 Path traversal in n/a
Attackers can load arbitrary macro files via insufficiently restrictive regex, potentially leading to code execution in WeBWorK.
- 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-6629?
CVE-2006-6629 is a high-severity path traversal vulnerability in n/a, published on 18 Dec 2006. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
lib/WeBWorK/PG/Translator.pm in WeBWorK Program Generation (PG) Language before 2.3.1 uses an insufficiently restrictive regular expression to determine valid macro filenames, which allows attackers to load arbitrary macro files whose names contain the strings (1) dangerousMacros.pl, (2) PG.pl, or (3) IO.pl.
Which versions are affected by CVE-2006-6629?
It affects 1 product.
Products include Webwork Program Generation Language.
How do I fix CVE-2006-6629?
No fix has been published for CVE-2006-6629 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-6629 being exploited?
There is no known exploitation of CVE-2006-6629 in the wild and no public exploit code.
Sources
Also known as GHSA-7qq7-gh46-3q87.