POJIA破甲
地图 / Bypass validation parts in AWS IAM Authenticator for Kubernetes

Bypass validation parts in AWS IAM Authenticator for Kubernetes

身份认证 / 认证缺陷(通用) / #1580493

厂商
Kubernetes
严重程度
中危 · CVSS 8.1
赏金
$2,500
弱点
认证缺陷(通用)
研究员
@0ria
披露日期
2023-05-25
资产
https://github.com/kubernetes-sigs
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(8151 字符中的一小部分)
Summary: Whenever the aws-iam-authenticator server gets a POST request to /authenticate it extracts the token and validates it. The token's content is a signed AWS STS request to the GetCallerIdentity endpoint, where the response content is used to map to matching K8s identity (username, groups).
原文中的代码
import base64
import boto3
import re
from botocore.signers import RequestSigner

REGION = 'us-east-1'
CLUSTER_ID = 'gaf-cluster'


def get_bearer_token(url, headers):
    STS_TOKEN_EXPIRES_IN = 60
    session = boto3.session.Session()

    client = session.client('sts', region_name=REGION) …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Kubernetes 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @0ria · 版权归作者与 Kubernetes 所有

同类报告

Improper Authentication - any user can login as other user with otp/logout & otp/loginSnapchat · 2021-09-03Bypassing Digits origin validation which leads to account takeoverX / xAI · 2020-06-24Flickr Account Takeover using AWS Cognito APIFlickr · 2021-12-18Chained Bugs to Leak Victim's Uber's FB Oauth TokenUber · 2019-01-25[cs.money] Open Redirect Leads to Account TakeoverCS Money · 2020-09-30OTP token bypass in accessing user settingsRazer · — · $1,000