OL09-00-002409 - OL 9 must disable access to network bpf system call from nonprivileged processes.

Information

Loading and accessing the packet filters programs and maps using the bpf() system call has the potential of revealing sensitive information about the kernel state.

Solution

Configure OL 9 to prevent privilege escalation thru the kernel by disabling access to the bpf syscall by adding the following line to a file, in the "/etc/sysctl.d" directory:

kernel.unprivileged_bpf_disabled = 1

The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command:

$ sudo sysctl --system

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_9_V1R2_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-2, CAT|II, CCI|CCI-001082, Rule-ID|SV-271748r1091956_rule, STIG-ID|OL09-00-002409, Vuln-ID|V-271748

Plugin: Unix

Control ID: 233c9bb0d9ed7e404c39edcab34254b0ca626e74135d9b62d3aa5e12c89b0be3