The TeX filter in Moodle 1.6 before 1.6.9+, 1.7 before 1.7.7+, 1.8 before 1.8.9, and 1.9 before 1.9.5 allows user-assisted attackers to read arbitrary files via an input command in a “$$” sequence, which causes LaTeX to include the contents of the file.
cvs.moodle.org/moodle/filter/tex/filter.php?r1=1.18.4.4&r2=1.18.4.5
lists.opensuse.org/opensuse-security-announce/2009-04/msg00010.html
secunia.com/advisories/34517
secunia.com/advisories/34557
secunia.com/advisories/34600
secunia.com/advisories/35570
tracker.moodle.org/browse/MDL-18552
www.debian.org/security/2009/dsa-1761
www.securityfocus.com/archive/1/502231/100/0/threaded
www.securityfocus.com/bid/34278
usn.ubuntu.com/791-2/
www.exploit-db.com/exploits/8297
www.redhat.com/archives/fedora-package-announce/2009-April/msg00077.html
www.redhat.com/archives/fedora-package-announce/2009-April/msg00079.html