TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Endpoint Security Question

2 点作者 takklz大约 5 年前
Random question that perhaps someone could shed some light on.<p>My buddy and I are having an argument regarding one of our pages. The page is for unsubscribing from emails. Simple enough, the endpoint looks like this:<p>Blah blah.com&#x2F;emailpref?email=test@test.com<p>This takes them to a page saying. “Thanks, John for visiting your email preferences page”.<p>From there they manage their email preferences.<p>I told him that this is a super insecure design, and theoretically someone could brute force usernames and emails from this.<p>Am I overreacting? What am I missing here?

1 comment

ssklash大约 5 年前
Pentester here. Absolutely something I would look at and abuse. You&#x27;re disclosing information, allowing the harvesting of valid email addresses, and allowing access to an account. even if only in a limited capacity for email management, based on only the email. There&#x27;s no reason to do it this way.<p>See here: <a href="https:&#x2F;&#x2F;portswigger.net&#x2F;web-security&#x2F;access-control&#x2F;idor" rel="nofollow">https:&#x2F;&#x2F;portswigger.net&#x2F;web-security&#x2F;access-control&#x2F;idor</a>
评论 #22769624 未加载