Glassdoor是一个求职和发布匿名公司评论的网站,它解决了一个可能被利用来接管客户的关键问题。

Bug bounty Research“Tabahi”(ta8ahi)发现问题,描述为站点范围内的跨站点请求伪造(CSRF)漏洞的严重性得分为9-10。

该漏洞影响了Glassdoor web域。一个令牌gdToken用于防止在端点上发生CSRF,乍一看,它似乎是一个安全的实现,Tabahi的测试导致一个欺诈性会话请求通过CSRF检查——这是意外发现,由于bug bounty hunter没有在请求尝试开始时复制下划线。

这个奇怪的发现导致Tabahi尝试复制结果。从帐户“A”生成CSRF令牌,剥离第一个字符,并尝试将其用作帐户“B”的令牌,结果证明是成功的。

有两种类型的Glassdoor帐户:一种用于求职者,另一种用于雇主,这两种帐户都使用相同的CSRF保护。

另请参见:远程代码执行漏洞在Starbucks移动平台中发现了该漏洞,使得攻击者能够从该公司的服务器获取CSRF令牌,从而从登录的受害者那里劫持帐户。这可能包括在雇主帐户上建立新的管理员,删除求职者和雇主的信息,添加虚假评论,删除简历,以及发布、申请和删除工作列表。

Glassdoor的安全团队将问题分为令牌长度验证错误,异常处理问题也存在。根据Tabahi的说法,“伪造的代币触发了一个异常,它们没有使响应失败,反过来,只需记录并允许操作继续。“

臭虫赏金猎人首先将他们的发现报告给了Glassdoor通过HackerOne。经过一段时间对bug进行分类,漏洞报告被认为是有效的,并给出了一个临界分数。Glassdoor在同一个月修补了这个问题,但直到12月才公开披露。

Tabahi因为报告CSRF漏洞而获得了3000美元的bug奖金,其中包括Glassdoor提供的2500美元的经济奖励和HackerOne提供的500美元奖金。

以前及相关报道https://www.zdnet.com/article/open-source-software-security-vulnerabilities-exist-for-over-four-years-before-detection-study/“target=”开放源代码软件安全漏洞在检测之前存在超过四年
  • GitHub推出依赖性审查,拉取请求的漏洞警报https://www.zdnet.com/article/tiktok-patches-reflect-xss-bug-one-click-account-takeover-exploit/“target=”TikTok补丁反映了XSS漏洞,一键式账户接管漏洞

  • 有什么提示吗?通过WhatsApp | Signal(电话+447713 025 499)或通过Keybase:charlie0进行安全联系

    New Relic抢购Kubernetes可观测性解决方案提供商Pixie Labs,“pageType”:“article”}>Airbnb首次公开募股:每股68美元,估值470亿美元

    a, .nav-item > a, .dropdown-menu a'); allLinks.forEach(link => { let href = link.getAttribute('href'); if (!href || href === '#' || href === 'javascript:;') return; // 4. 提取菜单中的核心路径 // 例如 /articles.html -> articles let cleanHref = href.replace(/^\/|\/$/g, '').replace(/\.(html|php)$/, '').toLowerCase(); let isMatch = false; // 5. 精确匹配逻辑 if (cleanHref === 'index') { // 只有当前是首页时,才高亮首页 if (cleanPath === 'index') isMatch = true; } else { // 如果当前路径完全等于菜单路径 (如 /articles 匹配 /articles) // 或者当前路径以 "菜单路径/" 开头 (如 /articles/154 匹配 /articles) // 或者当前路径包含 "菜单路径." (防某些带点号的特殊情况) if (cleanPath === cleanHref || cleanPath.startsWith(cleanHref + '/')) { isMatch = true; } } // 6. 如果匹配成功,加上高亮 if (isMatch) { link.classList.add('active'); // 如果匹配的是下拉菜单里的子项,顺便把它的父级分类也高亮 const parentNavItem = link.closest('.nav-item'); if (parentNavItem && !parentNavItem.classList.contains('active')) { const parentLink = parentNavItem.querySelector('a'); if (parentLink) parentLink.classList.add('active'); } } }); })(); // ================= 移动端菜单逻辑 ================= const toggle = document.getElementById("menuToggle"); const nav = document.getElementById("navLinks"); // 1. 汉堡按钮:切换主菜单显示/隐藏 if (toggle && nav) { toggle.addEventListener("click", function (e) { e.stopPropagation(); const expanded = this.getAttribute("aria-expanded") === "true"; this.setAttribute("aria-expanded", String(!expanded)); nav.classList.toggle("active"); }); } // 2. 处理下拉子菜单的展开/折叠 if (window.innerWidth <= 768) { const navItems = document.querySelectorAll(".nav-item"); navItems.forEach((item) => { const titleLink = item.querySelector("a"); const dropdownMenu = item.querySelector(".dropdown-menu"); const arrowIcon = item.querySelector(".arrow-icon"); if (titleLink && dropdownMenu) { titleLink.addEventListener("click", function (e) { e.preventDefault(); // 阻止链接跳转 e.stopPropagation(); // 手风琴效果:收起其他已展开的菜单 navItems.forEach((otherItem) => { if (otherItem !== item) { const otherMenu = otherItem.querySelector(".dropdown-menu"); const otherArrow = otherItem.querySelector(".arrow-icon"); if (otherMenu) otherMenu.classList.remove("active"); if (otherArrow) otherArrow.style.transform = "rotate(0)"; } }); // 切换当前菜单 dropdownMenu.classList.toggle("active"); if (arrowIcon) { arrowIcon.style.transform = dropdownMenu.classList.contains( "active", ) ? "rotate(180deg)" : "rotate(0)"; } }); } }); } // 3. 点击普通菜单项后,自动关闭整个主菜单 if (nav) { nav.querySelectorAll("a").forEach(function (link) { if (!link.querySelector(".arrow-icon")) { link.addEventListener("click", function () { nav.classList.remove("active"); if (toggle) toggle.setAttribute("aria-expanded", "false"); }); } }); } // ================= 返回顶部逻辑 ================= (function () { const backToTop = document.getElementById("backToTop"); window.addEventListener("scroll", function () { if (window.scrollY > 300) { backToTop.classList.add("show"); } else { backToTop.classList.remove("show"); } }); backToTop.addEventListener("click", function () { window.scrollTo({ top: 0, behavior: "smooth" }); }); })(); // 多语言 document.addEventListener("DOMContentLoaded", function() { let path = window.location.pathname; let isEn = path.startsWith('/en/'); if (isEn) { document.cookie = "my_lang=en; path=/; max-age=" + (30 * 24 * 3600); } else { document.cookie = "my_lang=zh; path=/; max-age=" + (30 * 24 * 3600); } // 【2. 首页记忆】如果访问的是首页(没带 en),但记忆是英文,前端自动跳去英文首页 if (!isEn && (path === '/' || path === '/index.html')) { if (document.cookie.includes('my_lang=en')) { window.location.replace('/en' + path); return; } } // 【3. 菜单不掉线】如果是英文页面,自动给菜单链接加上 /en/ if (isEn) { document.querySelectorAll('a').forEach(function(link) { let href = link.getAttribute('href'); // 站内链接,且没带 /en/ if (href && href.startsWith('/') && !href.startsWith('/en/') && !href.startsWith('http')) { link.setAttribute('href', '/en' + href); } }); } });