Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
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.
Insertion of Sensitive Information Into Sent Data CWE-201
The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 6 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Coder Coder | Software | from 2.38.0, before 2.38.2 | 2.38.2 |
| Coder Coder | Software | from 2.37.0, before 2.37.6 | 2.37.6 |
| Coder Coder | Software | from 2.36.0, before 2.36.9 | 2.36.9 |
| Coder Coder | Software | from 2.30.0, before 2.34.14 | 2.34.14 |
| Coder Coder | Software | from 2.24.0, before 2.29.23 | 2.29.23 |
| Coder Coder | Software | from 2.35.0, before 2.36.0 | 2.36.0 |
The 8.7 severity score (high) from vulncheck.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | Passive | A person has to do something simple, such as view a page. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | None | The service keeps running. |
| Other systems: data exposed | High | Total loss of confidentiality in other systems the vulnerable one connects to: everything they hold can be read. |
| Other systems: data changed | High | The attacker can change or delete anything in other systems the vulnerable one connects to. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 2 sources for this flaw, none tagged as a vendor patch.