Description
LimeSurvey through 7.12.1+261125 contains an improper expiration check in Authentication::newPassword() that allows unauthenticated attackers to reuse expired password reset or invitation keys. Attackers holding an old unused key from a reset or invitation email can submit it during recurring monthly windows when DateTime::diff ignores months and years, setting a new password to take over the account.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LimeSurvey | LimeSurvey | 0 ≤7.12.1+261125 | — |
References
- https://github.com/LimeSurvey/LimeSurvey/blob/d6f65177d776eef351725f558dce2a4d52c8076f/application/controllers/admin/Authentication.php#L400-L411
- https://github.com/LimeSurvey/LimeSurvey/blob/d6f65177d776eef351725f558dce2a4d52c8076f/application/models/User.php#L1100-L1108
- https://www.vulncheck.com/advisories/limesurvey-through-7.12.1-261125-expired-reset-key-acceptance-via-newpassword