DUO Authenticator returns a different number than Google and Microsoft for CloudStack's TOTP.
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 7 天 14 小時
- 30 天內合併 PR
- 31
描述
### problem
The title mentions DUO Authenticator because I want to stay consistent with the issue I already reported in DUO Security’s GitHub.
The problem occurs when setting up TOTP 2FA for a user in CloudStack. The QR code and seed work correctly in Google Authenticator, Microsoft Authenticator, and my password manager. However, DUO Authenticator generates the wrong rolling PIN (it looks out of sync).
Since the same QR code/seed works in four other apps, I believe this is a bug in DUO Authenticator. Still, since DUO is widely used as an enterprise-grade app, I wonder if CloudStack might be missing some information DUO needs when generating the TOTP.
Below are some sample TOTPs for a test user.
Revealing the Seed : LGV3KCWF3AFZKYB4MWSZBH3R6YWBINJI
QRCode content: otpauth://totp/Company:username?secret=LGV3KCWF3AFZKYB4MWSZBH3R6YWBINJI&issuer=Company
Revealing the Seed : 3JLPXCKBHYR3CHE73T7FNGBS5CDMQRBG
QRCode content: otpauth://totp/Company:username?secret=3JLPXCKBHYR3CHE73T7FNGBS5CDMQRBG&issuer=Company
### versions
ACS 4.20.1
### The steps to reproduce the bug
Setup TOTP on DUO and another app and compare the rolling PIN.
### What to do about it?
Maybe there are optional parameters that can be provided to the Authenticator app while scanning the QRCode that would inform some missing parameters that it fails to assume.
貢獻指南
研究方向
首先,使用提供的 otpauth QR code 內容和列出的 ACS 4.20.1 版本重現不一致的情況,並將 DUO 與其他驗證器進行比較。接著追蹤 CloudStack 的 TOTP 設定與 QR code 產生流程,以判斷是否缺少必要參數,或是不相容問題出在 DUO。完成的條件是找出負責的一方,並記錄或測試已確認的行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- authentication
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100