10

After automated scan on my web application I have the result that "Server leaks inodes via ETags, header found with file /icons/README, fields: 0x16a4 0x438c0000000".

I've read about ETags but I don't see any security risk related to this. INode defined as "The file's i-node number will be included in the calculation" is one of the standard configuration."

1

1 Answer 1

14

First of all, this is a false positive. Nikto reports this issue "Server leaks inodes via ETags" if there is a dash in the ETag header, which is by itself not an indication of anything.

An inode is a data structure used by the Linux file system. Every file and directory has an inode which stores its name, size and other data. Every inode has a number which uniquely identifies it. Apache HTTPD used this in the ETag for a while. The ETag is an identifier which should uniquely identify a file on the webserver, and the inode number is a number which uniquely identifies a file on the filesystem, so it seemed to make sense to use one for the other.

The inode number is technical information form the file system. If exposed, it cannot be used to exploit anything useful. Furthermore, it is only exposed on files that you can already download. It doesn't seem to a real security risk to me if a server exposes inodes.

1
  • 2
    sure, it's possible (though unlikely) that knowing an inode number may not be beneficial in exploitations, it could, for example, be used to tell if your in a chroot jail or not. Never say never ;) Ron Nov 27, 2020 at 11:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .