What is privilege escalation, and how do attackers use it to gain higher levels of access within a system? Discuss both vertical and horizontal privilege escalation, methods such as exploiting misconfigurations and vulnerable permissions, and techniques used to exploit privilege elevation.