First published: Mon Dec 18 2006(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Webwork | <=2.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2006-6629 has a medium severity rating due to the potential for arbitrary file inclusion.
To fix CVE-2006-6629, upgrade WeBWorK Program Generation Language to version 2.3.1 or later.
CVE-2006-6629 exposes the risk of attackers loading arbitrary macro files via insufficiently restricted regular expressions.
WeBWorK versions prior to 2.3.1 are affected by CVE-2006-6629.
The impact of CVE-2006-6629 is primarily on the lib/WeBWorK/PG/Translator.pm component.