Public bug reported:

Binary package hint: thttpd-util

The thttpd-util package includes a CGI program ("/usr/lib/cgi-
bin/redirect") to support page redirection.  To use this utility, you
place the "redirect" executable in your CGI directory, and add a symlink
to it from the page you want to redirect.

The supplied binary (in version 2.23beta1-6) is dynamically-linked:

 $ ldd /usr/lib/cgi-bin/redirect 
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0x00710000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00d82000)
        /lib/ld-linux.so.2 (0x00bc1000)

If you choose to run the thttpd server chrooted (which is the default
setting, and also securest), "redirect" will fail to run correctly and
thttpd returns an error page instead of a redirection.

Recompiling redirect.c statically produces a CGI script that works.

** Affects: thttpd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"redirect" binary is not statically linked
https://bugs.launchpad.net/bugs/159772
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to