Jump to content

TNFSD Directory Listing Vulnerability


Recommended Posts

Hi @mozzwald,


  Thanks very much for your reply, the errors in the tnfsd.service file were causing the problem. When I changed them, I could start up the server correctly, and it would happily serve images to the FujiNet-PC:

pi@pi3bp2:~ $ more /etc/systemd/system/tnfsd.service 
Description=TNFS Server

ExecStart=/usr/local/sbin/tnfsd /tnfs -c tnfs



I had to do a little bit more than just a systemctl start:

pi@pi3bp2:~ $ sudo vi  /etc/systemd/system/tnfsd.service 
pi@pi3bp2:~ $ sudo systemctl start tnfsd
Warning: The unit file, source configuration file or drop-ins of tnfsd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
pi@pi3bp2:~ $ sudo systemctl daemon-reload 
pi@pi3bp2:~ $ sudo systemctl start tnfsd
pi@pi3bp2:~ $ sudo systemctl status tnfsd
● tnfsd.service - TNFS Server
     Loaded: loaded (/etc/systemd/system/tnfsd.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-02-23 13:07:40 WET; 9s ago
   Main PID: 31946 (tnfsd)
      Tasks: 1 (limit: 1596)
        CPU: 8ms
     CGroup: /system.slice/tnfsd.service
             └─31946 /usr/local/sbin/tnfsd /tnfs -c tnfs

Feb 23 13:07:40 pi3bp2 systemd[1]: Started TNFS Server.
Feb 23 13:07:40 pi3bp2 tnfsd[31946]: Starting tnfsd version 23.0207.1 using root directory "/tnfs"


But everything works correctly now!


  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...