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

Information

Some adversaries launch attacks with the intent of executing code in nonexecutable 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_V1R10_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-16, CAT|II, CCI|CCI-002824, Rule-ID|SV-238368r880910_rule, STIG-ID|UBTU-20-010447, Vuln-ID|V-238368

Plugin: Unix

Control ID: 262dc2c8fc67e28bb429f47bac224fb988d8329d2cff308fec791be480a1fefc