Vulnerability Management

SAST of a web application's source returned no findings, yet after release a tester found session cookies sent without the Secure flag because of a web server setting. What would have caught this before release?

Show the answer

Correct answerB. DAST against a staging deployment

AWhy not this: Stricter rules still analyze source code, which does not contain the server setting.

BWhy this is right: DAST inspects real responses from a running instance, exposing cookie flags set by server configuration.

CWhy not this: A repository review reads code only, so it would not reveal a deployed server setting.

DWhy not this: SAMM rates program maturity and does not test an application for specific flaws.

A server setting exists only in the deployed environment, and DAST sees it by inspecting real responses from a running instance. SAST reads source code, so a clean result says nothing about runtime configuration.