spell-check-logic.cgi in Moodle 1.8.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/spell-check-debug.log, (2) /tmp/spell-check-before, or (3) /tmp/spell-check-after temporary file.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Moodle | Moodle | 1.8.2 (including) | 1.8.2 (including) |
| Moodle | Ubuntu | dapper | * |
| Moodle | Ubuntu | gutsy | * |
| Moodle | Ubuntu | hardy | * |
| Moodle | Ubuntu | intrepid | * |