Advisories

Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps

Go back
Severity
high
Date
Affecting
  • coder >= 2.38.0, < 2.38.2

  • coder >= 2.37.0, < 2.37.6

  • coder >= 2.36.0, < 2.36.9

  • coder >= 2.30.0, < 2.34.14

  • coder >= 2.24.0, < 2.29.23

  • coder >= 2.35.0, < 2.36.0

CWE
  • CWE-201 Insertion of Sensitive Information Into Sent Data
CVSS
8.7
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Credit
manus-pi, EhabY
Description
The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSION_TOKEN placeholder in external app URLs with a full-access API key without checking whether the app belongs to a sub-agent. Code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so the owner's click sends their API key to an attacker-chosen destination.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.