An issue was discovered in GamerPolls 0.4.6, related to config/environments/all.js and config/initializers/02_passport.js. An attacker can edit the Passport.js contents of the session cookie to contain the ID number of the account they wish to take over, and re-sign it using the hard coded secret.
References
Link | Resource |
---|---|
https://www.digitalinterruption.com/single-post/2018/06/04/Are-Your-Cookies-Telling-Your-Fortune | Exploit Third Party Advisory |
https://github.com/GamerPolls/gamerpolls.com/pull/56 | Patch Third Party Advisory |
https://github.com/GamerPolls/gamerpolls.com/blob/03ccbaf219410e0a45390d0efc12017f08a25282/config/environments/all.js#L58 | Patch Third Party Advisory |
Configurations
Information
Published : 2018-06-05 08:29
Updated : 2018-07-20 07:35
NVD link : CVE-2018-10966
Mitre link : CVE-2018-10966
JSON object : View
CWE
CWE-798
Use of Hard-coded Credentials
Products Affected
gamerpolls
- gamerpolls