skip to Main Content

I have a small issue with the following line of text when loading the apache website of foswiki on Ubuntu 16.04.

Error:

Foswiki detected an internal error – please check your Foswiki logs and webserver logs for more information.

Insecure dependency in eval while running with -T switch

Log from error.log:

Insecure dependency in eval while running with -T switch at /var/www/Foswiki-1.1.9/lib/Foswiki.pm line 3153.

**Background: **

  • Originally the VM was on ubuntu 12.04 and running foswiki 1.1.9.
  • then I ran the upgrade on ubuntu and made it to 14.04 and was able to make the apache webservice work for foswiki.
  • then I upgraded it to ubuntu 16.04 and seeing the error above.
  • on ubuntu 12.04: perl version was 5.14
  • on ubuntu 16.04: perl version is 5.22

Note: I have very limited knowledge in programming language and I need to upgrade this VM all the way up to ubuntu 20.04 LTS or 22.04 what ever I can.

2

Answers


  1. Chosen as BEST ANSWER

    Found the workaround to this problem:

    1. all the scripts in this location: varwwwFoswiki-1.1.9
    2. removed the -wT from the scripts and started working fine.

  2. The program was run using perl -T or as a setuid/setgid script, which enables taint mode. Taint mode prevents user inputs from being used in certain operations for security purposes. This is particularly appropriate for a web script.

    Changes to the program or module will be needed to resolve the issue. Please consult their authors.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search