Skip to content

Fix VAmPI book object authorization - #60

Open
tobymoreno wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
tobymoreno:fix/vampi-books-authorization
Open

tobymoreno wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
tobymoreno:fix/vampi-books-authorization

Conversation

@tobymoreno

Copy link
Copy Markdown

Summary

  • scope book lookups to the authenticated owner
  • prevent cross-user secret access by title

Verification

  • pytest tests/test_books_auth.py (1 passed)
  • git diff --check
  • signed DCO commit

This PR targets Broken Object Level Authorization on Books and is isolated for scoring.

Scope book lookups to the authenticated owner so users cannot read another user's secret content by title. Add focused regression coverage.

Signed-off-by: Toby Moreno <chris.moreno.ctr@km.spaceforce.mil>
@github-actions

github-actions Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

🏆 VAmPI — CTF Patch Score

███░░░░░░░░░░░░░░░░░  2 / 16 pts  (13%)

1 / 9 challenges patched

Per-challenge detail is withheld — it would reveal the rubric.

Commit: 032bf93 · scoring run

🎉 Your result is on the leaderboard — see where you rank! 🏆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant