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_V2R1_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

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

Plugin: Unix

Control ID: 083b89151ad22e43de3c37832a759cb680902ea15d277110e02b67285d5b7c2e