一个潜在的远程代码执行(RCE)漏洞已经在星巴克的一个移动域中被修补了。
这家美国咖啡巨头在HackerOne上运行了一个bug悬赏平台。Kamil“ko2sec”OnurÖzkaleli提交的一份新的漏洞报告于11月5日首次提交,并于12月9日公开,报告描述了在mobile.starbucks.com.sg公司,新加坡用户的平台。
另请参见:FireEye的bug bounty计划根据
https://hackerone.com/reports/1027822“target=”_blank“rel=”noopener noreferrer nofollow”data component=“externalLink”>通知,ko2sec在上发现了一个.ashx端点mobile.starbucks.com.sg,用于处理图像文件。但是,端点没有限制文件类型上载,这意味着攻击者滥用该问题可能会上载恶意文件并远程执行任意代码。
虽然完整的bug bounty报告已被Starbucks限制,值得注意的是,bug bounty hunter对该问题的分析揭示了“共享此漏洞的其他范围外域上的其他终结点”。
CNET:黑客访问与经授权的COVID-19疫苗相关的文件。
尚未针对严重漏洞发布CVE,但已在报告中添加了9.8的严重性评分。
Ko2sec因其发现获得5600美元的奖励。
RCE并不是研究人员向星巴克提交的唯一一份报告。10月,Ko2sec描述了http://www.kamilonurozkaleli.com/posts/starbucks-singapore-account-takeover/“target=”\u blank“rel=”noopener noreferrer nofollow“data component=”externalLink“>由于开放测试环境导致的星巴克新加坡网站的帐户接管漏洞攻击。通过知道用户的电子邮件地址、查看他们的个人信息、甚至使用账户钱包中的任何信用卡进行购买,都是有可能的。
TechRepublic:网络钓鱼电子邮件:超过25%的美国员工爱上了他们
臭虫赏金猎人在上一次报告中获得了6000美元。
迄今为止,Starbucks已经收到1068份漏洞报告https://hackerone.com/starbucks“target=”noopener noreferrer nofollow“data component=”externalLink“>HackerOne。有效提交的平均奖金在250美元到375美元之间,而关键的bug价值4000美元到6000美元。总的来说,咖啡连锁店已经支付了超过64万美元的赏金猎人,其中20美元,在过去的90天内,ZDNet已经联系了星巴克,我们会在收到回复后更新。
以前和相关的报道
有什么建议吗?通过WhatsApp | Signal(电话+447713 025 499)或通过Keybase:charlie0进行安全联系
Facebook在圣诞节前及时为WhatsApp带来应用内购物车,“pageType”:“article”}>Adobe security update压缩Lightroom中的关键漏洞,Prelude
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);
}
});
}
});