Description
Course-tencent-cloud through 2.0.1 contains an improper restriction of authentication attempts vulnerability that allows unauthenticated attackers to brute force 6-digit SMS/email verification codes, which are never invalidated or attempt-limited. Attackers who know a victim's phone or email can trigger a code and rotate source IPs against the password reset and verify login endpoints to take over accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xiaochong0302 | course-tencent-cloud | ≤ 2.0.1 | — |
References
- https://hackmd.io/@hieuPenguinnn/ctc-verify-code-brute-force-account-takeover third-party-advisory
- https://github.com/xiaochong0302/course-tencent-cloud/blob/v2.0.1/app/Services/Verify.php#L27-L73 technical-description
- https://github.com/xiaochong0302/course-tencent-cloud/blob/v2.0.1/app/Services/Logic/Account/PasswordReset.php technical-description
- VulnCheck Advisory: Course-tencent-cloud through 2.0.1 Verification Code Brute Force Account Takeover third-party-advisory