privilege escalation

Gaining the rights of a more powerful account, such as root, either deliberately through a tool like sudo or illegitimately through a flaw.

Anyone who can escalate on a host can change anything on it, so escalation rights must be granted narrowly.

In more detail

The deliberate kind is normal practice: log in as an ordinary account and escalate only for the tasks that need it, which leaves an audit trail and limits the damage of a mistake. The illegitimate kind is an attack, which is why escalation rights themselves must be tightly controlled.

Examples

Ansible's become keyword performs deliberate privilege escalation, through sudo by default.
The course shows it in an identity policy that can attach a policy to itself, in Kubernetes escalate and bind verbs, in a role taken from the request body, and in mass assignment of a role field.

Related terms

Taught in

References

Certification courses