Medplum - Improper Validation of Redirect URI in External Auth Callback allows Authorization Code Leakage
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| medplum | medplum | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Medplum | Medplum |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-m44r-7c5h-m6mj | Medplum: Improper Validation of Redirect URI in External Auth Callback allows Authorization Code Leakage |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.198% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Medplum
Medplum medplum |
|
| Vendors & Products |
Medplum
Medplum medplum |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Medplum is a developer platform that enables development of healthcare apps. Prior to version 5.1.6, the external identity provider callback at GET /auth/external accepts attacker-controlled redirect URIs that only need to start with a registered client redirect URI, rather than matching exactly. After a successful external IdP login, the server appends Medplum login and code values to that attacker-supplied URL and issues a redirect. Because the external login request state is serialized as raw JSON and later trusted by the callback, an attacker who can tamper with state.redirectUri can cause Medplum to redirect authorization artifacts to an attacker-controlled endpoint. When the registered redirect URI is a bare origin or another prefix that can be extended into a different hostname, this becomes a cross-origin authorization code leak. This issue has been patched in version 5.1.6. | |
| Title | Medplum - Improper Validation of Redirect URI in External Auth Callback allows Authorization Code Leakage | |
| Weaknesses | CWE-345 CWE-601 |
|
| References |
| |
| Metrics |
cvssV3_1
|