You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GitHub Copilot plugin accepts a user-supplied enterpriseUrl for
GitHub Enterprise deployments. The input is only validated for URL format
(valid hostname exists) but not checked against safe domain patterns.
Impact
An attacker can supply internal addresses (127.0.0.1, localhost,
192.168.x.x) or attacker-controlled domains, causing CyberStrike to:
Make OAuth device code requests to unintended endpoints
Forward Bearer tokens to attacker-controlled servers
Classification
CWE-918 (Server-Side Request Forgery)
Fix
PR #22 adds domain allowlist validation and blocks internal/loopback
addresses at both the UI validation layer and inside authorize().
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The GitHub Copilot plugin accepts a user-supplied
enterpriseUrlforGitHub Enterprise deployments. The input is only validated for URL format
(valid hostname exists) but not checked against safe domain patterns.
Impact
An attacker can supply internal addresses (127.0.0.1, localhost,
192.168.x.x) or attacker-controlled domains, causing CyberStrike to:
Classification
CWE-918 (Server-Side Request Forgery)
Fix
PR #22 adds domain allowlist validation and blocks internal/loopback
addresses at both the UI validation layer and inside authorize().
Fixes #22
Beta Was this translation helpful? Give feedback.
All reactions