Menu

1 / 8

The Secure Code Review Challenge — Solution #10: Ticketee (Every ID Needs Its Own Check)

DEV Community: appsec·Mohamed AboElKheir·4 days ago
#bra6VfhR
#devtoappsec#devto#dev#l1#l14
Long article (5163 words) — no AI summary yet.
Reading 0:00
15s threshold

Ticketee is a well-built ASP.NET Core app. It uses ASP.NET Core Identity with account lockout and rate limiting, antiforgery tokens on every form, EF Core queries that are always parameterized, Markdown rendering with raw HTML disabled and a sanitizer, a safe login redirect, and a project-membership check on every project route.

Even so, any registered user can read every issue in every private project on the instance. All it takes is the Open selected filter on their own project's issue list.

This post walks through the full review: how the app works, where user input comes in, which defenses hold, which one is missing, a working exploit, and the fix. Every code snippet you need is included, so you don't have to open the repo to follow along. Each snippet links to its exact lines on GitHub if you want more context.

🎥 Prefer video? The full walkthrough is on YouTube:

What is the Secure Code Review Challenge?

It's a free, biweekly series.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.