Attacks and Exploits

A tester exploits a code injection flaw in a serverless function and dumps its environment variables to harvest credentials. Which attack type is this?

Show the answer

Correct answerC. Workload runtime attack

AWhy not this: Tampering alters stored images or artifacts before deployment, not a function that is already running.

BWhy not this: Escape means breaking out of a container to the host, and no container boundary is crossed here.

CWhy this is right: Exploiting the running function and reading its runtime environment is a workload runtime attack.

DWhy not this: Bucket access abuses storage permissions, not code execution in a running workload.

A workload runtime attack targets a running workload, such as a function, VM or container, by exploiting its live code or environment. Container escape would require breaking out of a container to its host, which this scenario does not involve.