Rucioに認証を回避され管理者になりすまされる脆弱性
Summary
SSHのチャレンジトークンが認証トークンとして受け入れられるため、認証のない攻撃者が任意のアカウント(管理者を含む)になりすましてAPIを操作できます。CVSSは10.0の最高レベルです。影響を受けるのはRucioの41.1.1より前の版で、41.1.1で修正されています。修正版へ速やかに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SSHのチャレンジトークンが認証トークンとして受け入れられるため、認証のない攻撃者が任意のアカウント(管理者を含む)になりすましてAPIを操作できます。CVSSは10.0の最高レベルです。影響を受けるのはRucioの41.1.1より前の版で、41.1.1で修正されています。修正版へ速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| piprucio |
< 41.1.1→ 41.1.1 |
41.1.1 |
| PyPIrucio |
≥ 41.0.0rc1, < 41.1.1→ 41.1.1 |
41.1.1 |
| ruciorucio | — | Not listed |
Original description The description as published by the source.
Rucio is a scientific data management framework. From 1.14.0 until 35.9.1, 38.6.1, 40.4.2, and 41.1.1, validate_auth_token in lib/rucio/core/authentication.py does not distinguish short-lived SSH challenge nonces from authentication tokens stored in the same token table. An unauthenticated attacker can request /auth/ssh_challenge_token for an arbitrary account by supplying X-Rucio-Account, then present the returned X-Rucio-SSH-Challenge-Token as X-Rucio-Auth-Token to authenticate to other API endpoints as that account, including an administrative account. This issue is fixed in versions 35.9.1, 38.6.1, 40.4.2, and 41.1.1.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com