REDHAT-BUG-2272339: High severity Openshift telemeter vulnerability

Published Mar 31, 2024
·
Updated

Description: When verifying the iss field, telemeter uses strings.Split(tokenData, ".") to extract the payload, which means that the user should submit a Compact type JWS Token. However, go-jose's jwt.ParseSigned(tokenData) also supports authenticating JWS Token of JSON type. That means if the attacker submits a Token like:

{ "fakeiss":".eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIn0.", "protected":"", "header":"", "payload":"", "signature":"" }

The attacker can forge a token issued by Google to pass the verification(for example). If two server use the same pair of key, the attacker can use the token from the first server to deceive the second server, and cause the privilege escape. The original reporter has raised this issue to Kubernetes, and they have fixed this problem: https://github.com/kubernetes/kubernetes/pull/123540

---

https://github.com/openshift/telemeter Version: 4.17 Related Code: https://github.com/openshift/telemeter/blob/a9417a6062c3a31ed78c06ea3a0613a52f2029b2/pkg/authorize/jwt/clientauthorizer.go#L78

Affected Software

2 affected components
Openshift telemeter
Kubernetes kubernetes

Event History

Mar 31, 2024
Data Sourced
via Red Hat·12:33 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2272339?

The severity of REDHAT-BUG-2272339 is categorized as important due to its impact on token authentication.

2

How do I fix REDHAT-BUG-2272339?

To fix REDHAT-BUG-2272339, ensure that the submitted tokens are Compact type JWS Tokens as required by the telemeter verification process.

3

What are the consequences of exploiting REDHAT-BUG-2272339?

Exploiting REDHAT-BUG-2272339 may lead to improper validation of JWT tokens, potentially allowing unauthorized access.

4

Which versions of OpenShift Telemetry are affected by REDHAT-BUG-2272339?

REDHAT-BUG-2272339 affects OpenShift Telemetry versions that utilize the vulnerable token verification method.

5

Is there a workaround for REDHAT-BUG-2272339?

A temporary workaround for REDHAT-BUG-2272339 is to manually validate and ensure that only Compact type JWS Tokens are accepted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203