UBTU-20-010447 - The Ubuntu operating system must implement non-executable data to protect its memory from unauthorized code execution.

Information

Some adversaries launch attacks with the intent of executing code in non-executable regions of memory or in memory locations that are prohibited. Security safeguards employed to protect memory include, for example, data execution prevention and address space layout randomization. Data execution prevention safeguards can either be hardware-enforced or software-enforced with hardware providing the greater strength of mechanism.

Examples of attacks are buffer overflow attacks.

Solution

Configure the Ubuntu operating system to enable NX.

If 'nx' is not showing up in '/proc/cpuinfo', and the system's BIOS setup configuration permits toggling the No Execution bit, set it to 'enable'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002824, Rule-ID|SV-238368r654279_rule, STIG-ID|UBTU-20-010447, Vuln-ID|V-238368

Plugin: Unix

Control ID: f537e9d0aacc6b3413c37d44bf8985ae83e406ce46204754d4c3343130aa2a35