CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Gradle

CVE-2022-27225
Gradle Enterprise vulnerability

Gradle Enterprise before 2021.4.3 relies on cleartext data transmission in some situations. It uses Keycloak for identity management services. During the sign-in process, Keycloak sets browser cookies that effectively provide remember-me functionality. For backwards compatibility with older Safari versions, Keycloak sets a duplicate of the cookie without the Secure attribute, which allows the cookie to be sent when accessing the location that cookie is set for via HTTP. This creates the potential for an attacker (with the ability to impersonate the Gradle Enterprise host) to capture the login session of a user by having them click an http:// link to the server, despite the real server requiring HTTPS.

Affected products

Enterprise. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gradle Enterprise runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Gradle products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.