Refresh command with tokens from single page applications error out with code 7000
まだ誰も着手していません。
評価
調査の方向性
Start with the refresh-token path used by azurehound -r and inspect the NewRequest function in http.go. Reproduce the AADSTS7000 failure with a single-page-application refresh token, then compare it with the working MSGraph token flow and the linked Microsoft documentation. Done means the reported SPA-token command completes successfully and its output is written to output.json.
索引モデルが issue の本文から書いたものです。
説明
azurehound version v2.1.9
Refresh tokens from single page applications (like the azure portal) error out with error code AADSTS7000.
Command: azurehound -r "<refresh_token>" list --tenant "example.onmicrosoft.com" -o output.json
Tested the same command with a MSgraph refresh token and that did work.
I assume the issue lies in the fact that it needs the origin key in the header of the request.
MS documentation: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow#redirect-uris-for-single-page-apps-spas
Perhaps something across the lines of (in the http.go, NewRequest function):
req.Header.Set("Origin", "example.com")
Curious to hear any thoughts.
- 主要言語
- Go
- スター
- 968
- フォーク
- 147
- 平均マージ
- 2時間 9分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SpecterOps/AzureHound のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SpecterOps/AzureHound#128 · コメント 1 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
SpecterOps/AzureHound#197 ·
-
Improvement: Add a Feature to Allow Users to Specify Custom User Agents対応中かも @ChrisJr404 が 156 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
SpecterOps/AzureHound#135 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
SpecterOps/AzureHound#112 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
SpecterOps/AzureHound#80 · コメント 1 件 ·
SpecterOps/AzureHound の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
siyuan-note/siyuan#20353 ·
メンテナーはふだん 1 日以内に返信
-
attributes-natural-language "en-US" is rejected by PAPPL >= 1.4.12 printers (RFC 8011 requires lowercase)対応中かも @ChrisEdgington が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
OpenPrinting/ipp-usb#140 ·
-
Discriminator mapping keys are listed in a random order対応中かも @reuvenharrison が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Idle compaction monitors LIST the replica every tick when the newest destination file spans more than one TXID対応中かも @pishuv が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
benbjohnson/litestream#1563 ·
メンテナーはふだん 2 日以内に返信
-
triage needed
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信