CVE-2022-27225 Information disclosure in n/a
Attackers can capture user login sessions via cleartext cookies if users access the server over HTTP, enabling account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-27225?
CVE-2022-27225 is a medium-severity vulnerability in n/a, published on 16 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-311
Which versions are affected by CVE-2022-27225?
It affects 1 product.
Products include Gradle Enterprise.
How do I fix CVE-2022-27225?
No fix has been published for CVE-2022-27225 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-27225 being exploited?
There is no known exploitation of CVE-2022-27225 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fxrc-j9qq-62g8.