You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Many vulnerbilities involving files and file operations rely on a program anticipating that a file resides in a certain directory and then manipulating the file system in a way that makes that program access a different file than the intended. This is the technique used by many attacks targeting UNIX symlinks and Windows shortcuts.

Once the correct file has been opened, a program is no longer vulnerableto these types of attacks so long as the file is accessed via a file descriptor.

h2 Non-compliant Example 1


h2 Compliant Solution 1


  • No labels