Description
In Dedos-web 1.0, the cookie and session secrets used in the Express.js application have hardcoded values that are visible in the source code published on GitHub. An attacker can edit the contents of the session cookie and re-sign it using the hardcoded secret. Due to the use of Passport.js, this could lead to privilege escalation.
Metrics
CVSS 3.0 7.3/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/aprendecondedos/dedos-web/pull/1Issue Tracking, Third Party Advisory
- https://www.digitalinterruption.com/single-post/2018/06/04/Are-Your-Cookies-Telling-Your-FortuneExploit, Third Party Advisory
- https://github.com/aprendecondedos/dedos-web/pull/1Issue Tracking, Third Party Advisory
- https://www.digitalinterruption.com/single-post/2018/06/04/Are-Your-Cookies-Telling-Your-FortuneExploit, Third Party Advisory
Timeline
- Published
- Jun 5, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified