40 - Do not allow symbolic linking

Information

Symbolic links allows one application to include the libraries from another. This allows for re-use of code but also allows for potential security issues when applications include libraries from other applications they should not have access to.

Allowing symbolic links opens up all versions prior to 6.0.18 to directory traversal vulnerability. Also there is a potential that an application could link to another application it should not be linking too. On case-insensitive operating systems there is also the threat of source code disclosure.

Solution

In all context.xml, set the allowLinking attribute to false.
By default allowLinking has a value of false.

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6

Plugin: Unix

Control ID: bc1a4f488c85d3b036a5efc7884e2574ff186cf3817dd279ccd492c985a1d4a0