Skip to content
Info disclosure Write-up Beginner

A Story About How I Found Cve 2020 27838 In Tvh Responsible Disclosure

The Keycloak client registration endpoint exposed information about public clients, including their client secrets, without requiring authentication. An attacker could retrieve these secrets and potentially use them to access or manipulate client data.

Karthikeyan.V Follow

Published on infosecwriteups.com

A few months ago, during a security assessment of a client’s system, I stumbled upon a critical flaw in the TVH authentication server that could expose sensitive information. This vulnerability, identified as CVE-2020–27838, allows unauthorized access to client registration details in Keycloak, potentially…

Karthikeyan.V, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the client registration endpoint did not enforce authentication for public clients, and it returned the client secret even though public clients should not have one.

Impact

An attacker could obtain client secrets and potentially access or manipulate client data, compromising confidentiality.

What the attacker needed

Network access to the Keycloak server; No authentication required

The fix

Upgrade Keycloak to a version later than 13.0.0, which requires proper authentication before accessing sensitive client information.

How it was found

  1. Identify the Keycloak client registration endpoint for the security-admin-console client.
  2. Send a request to that endpoint without authentication.
  3. Observe that the response includes sensitive client details, including the client secret.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A client secret is like a password that an application uses to prove its identity to an authentication server. The server had an endpoint that would hand out these secrets to anyone who asked, without checking who they were. This means an attacker could pretend to be a legitimate application and access data they should not see.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Karthikeyan.V

View all

21 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.