POJIA破甲
地图 / [authmagic-timerange-stateless-core] Improper Authentication

[authmagic-timerange-stateless-core] Improper Authentication

身份认证 / 认证缺陷(通用) / #736522

厂商
Node.js third-party modules
严重程度
中危
赏金
—
弱点
认证缺陷(通用)
研究员
@ermilov
披露日期
2020-09-16
资产
Other module
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(4075 字符中的一小部分)
I would like to report Improper Authentication in `authmagic-timerange-stateless-core` It allows to forge user's identity.
原文中的代码
const checkRefreshToken = (token, refreshToken, key) => {
  try {
    if(jwt.verify(refreshToken, key)) {
      return jwt.decode(token, {complete: true}).signature === jwt.decode(refreshToken).signature;
    }
  } catch(e) {
    return false;
  }

  return false;
};

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js third-party modules 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @ermilov · 版权归作者与 Node.js third-party modules 所有

同类报告

Improper Authentication - any user can login as other user with otp/logout & otp/loginSnapchat · 2021-09-03Bypassing Digits origin validation which leads to account takeoverX / xAI · 2020-06-24Flickr Account Takeover using AWS Cognito APIFlickr · 2021-12-18Chained Bugs to Leak Victim's Uber's FB Oauth TokenUber · 2019-01-25[cs.money] Open Redirect Leads to Account TakeoverCS Money · 2020-09-30OTP token bypass in accessing user settingsRazer · — · $1,000