cram_nonce.valid needs to be checked when authenticating to prevent spoofing. For this same reason, cram_cron() shouldn't delete non-expired nonces even if they're no longer valid.
Untested fixes attached.
| Comment | File | Size | Author |
|---|---|---|---|
| cram.d5.valid_checking.patch | 1.08 KB | Freso | |
| cram.d6.valid_checking.patch | 1.29 KB | Freso |
Comments
Comment #1
selmanj commentedThis is definitely critical, and I wish I had noticed this. Nice catch on the cron line too (took me a few moments to see why that needed to be changed).
Both patches committed. Thanks!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.