OpenCyber Academy
Scenario 09 / 10 · NIST SP 800-61 REV. 3

Web application compromise

A customer portal begins returning unexpected database errors after an unreviewed change to a search endpoint.

Fictional training scenario; no real system or person is described.

Safety and authority boundary

Do not use live exploitation to confirm the flaw; preserve query traces and involve the data owner before impact claims.

01 / 05

Preparation

GV · ID · PR

A customer portal begins returning unexpected database errors after an unreviewed change to a search endpoint.

Your decision. Before opening the response, decide what each named team should do, how it would do it, why, whose approval is needed, and what evidence would change the decision.

Reveal the worked team response
TeamWhatHowWhy
Yarrow Evidence teamPrepared an evidence routeNamed read-only sources and custodians for: Application and database logs show malformed queries and an unusual read volume, but the affected record count is unknown.The first alert needs a verifiable provenance and time.
Zenith Service teamRehearsed safe continuityTested an isolated version of: Deploy a reviewed query fix and least-privilege database role, then run bounded functional tests.A rushed recovery can worsen the service impact.
Amber Decision teamSet authority and escalationAssigned owners and approval conditions around: Do not use live exploitation to confirm the flaw; preserve query traces and involve the data owner before impact claims.Safety, privacy and communications need accountable decisions.
02 / 05

Detection and analysis

DE

Application and database logs show malformed queries and an unusual read volume, but the affected record count is unknown.

Your decision. Before opening the response, decide what each named team should do, how it would do it, why, whose approval is needed, and what evidence would change the decision.

Reveal the worked team response
TeamWhatHowWhy
Yarrow Evidence teamTriaged the signalPreserved source, UTC time and a second independent check for: Application and database logs show malformed queries and an unusual read volume, but the affected record count is unknown.One alert is a lead, not proof of cause or scope.
Zenith Service teamMeasured user impactCompared the actual service with the scenario baseline: A customer portal begins returning unexpected database errors after an unreviewed change to a search endpoint.Technical alerts alone do not establish operational impact.
Amber Decision teamDeclared a bounded caseRecorded confirmed facts, unknowns, owner and next review time.The teams can coordinate without overstating the evidence.
03 / 05

Response and containment

RS

Do not use live exploitation to confirm the flaw; preserve query traces and involve the data owner before impact claims.

Your decision. Before opening the response, decide what each named team should do, how it would do it, why, whose approval is needed, and what evidence would change the decision.

Reveal the worked team response
TeamWhatHowWhy
Yarrow Evidence teamPreserved and scoped evidenceSaved the original records and defined a bounded path for: Disable the affected search path through an approved feature flag, retain evidence and review database permissions.Containment must not destroy the basis for later review.
Zenith Service teamApplied the approved controlImplemented: Disable the affected search path through an approved feature flag, retain evidence and review database permissions.A reversible, owner-approved change reduces harm without expanding scope.
Amber Decision teamAuthorized and communicatedLogged the approver, affected users and constraint: Do not use live exploitation to confirm the flaw; preserve query traces and involve the data owner before impact claims.Response actions need clear authority and proportional notice.
04 / 05

Recovery

RC

Deploy a reviewed query fix and least-privilege database role, then run bounded functional tests.

Your decision. Before opening the response, decide what each named team should do, how it would do it, why, whose approval is needed, and what evidence would change the decision.

Reveal the worked team response
TeamWhatHowWhy
Yarrow Evidence teamChecked for persistenceCompared new telemetry against: Normal searches work, malformed input is rejected, and an independent log review finds no continuing anomalous reads.An apparently healthy service can still be compromised.
Zenith Service teamRestored in stagesExecuted: Deploy a reviewed query fix and least-privilege database role, then run bounded functional tests.A staged return tests dependencies before widening access.
Amber Decision teamAccepted the business outcomeRequested owner sign-off only after: Normal searches work, malformed input is rejected, and an independent log review finds no continuing anomalous reads.Recovery is a service decision, not merely a green dashboard.
05 / 05

Improvement

ID.IM

Add pre-deployment query tests, access review and a data-impact evidence checklist.

Your decision. Before opening the response, decide what each named team should do, how it would do it, why, whose approval is needed, and what evidence would change the decision.

Reveal the worked team response
TeamWhatHowWhy
Yarrow Evidence teamTurned uncertainty into a testDocumented the evidence gap and proposed: Add pre-deployment query tests, access review and a data-impact evidence checklist.A lesson needs a measurable future check.
Zenith Service teamRehearsed the changed controlAssigned an owner and date to test: Add pre-deployment query tests, access review and a data-impact evidence checklist.An untested action item is not a verified improvement.
Amber Decision teamClosed the decision recordApproved resources, tracked the owner and checked the new control later.Learning must feed Govern, Identify and Protect.

Recovery acceptance test

Normal searches work, malformed input is rejected, and an independent log review finds no continuing anomalous reads.

Improvement to verify

Add pre-deployment query tests, access review and a data-impact evidence checklist.