TWiki |
Sweeet TWiki - my favorite web-based wiki
%INCLUDE{http://www.geekfarm.org/wu/muse/WebHome.html}%
Twiki under mod_perl, PerlRun appears to be sweeeet. I got it running on laptop with the following (enable modules, blah, blah) primitive block in httpd.conf and its MUCH faster:
PerlModule Apache::PerlRun <Location /cgi-bin> SetHandler perl-script PerlHandler Apache::PerlRun Options ExecCGI PerlSendHeader On allow from all </Location>
I also added in the following block to the .htaccess
<Files *> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI PerlSendHeader On </Files>
Not clear on whether it's needed too. It looks like people on the twiki twiki think mod_perl + twiki == r000xx004
The TWiki search function uses a user supplied search string to compose a command line executed by the Perl backtick (``) operator.
The search string is not checked properly for shell metacharacters and is thus vulnerable to search string containing quotes and shell commands.
An example search string would be: "test_vulnerability '; ls -la'"
If access to TWiki is not restricted by other means, attackers can use the search function without prior authentication.