Vulnerability · Published Feb 9, 2024 · Assigned by GitHub_M
CVE-2024-23639micronaut-core management endpoints vulnerable to drive-by localhost attack
Medium 5.1
In plain English
A medium-severity security flaw in micronaut-core from micronaut-projects. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Micronaut Framework is a modern, JVM-based, full stack Java framework designed for building modular, easily testable JVM applications with support for Java, Kotlin and the Groovy language. Enabled but unsecured management endpoints are susceptible to drive-by localhost attacks. While not typical of a production application, these attacks may have more impact on a development environment where such endpoints may be flipped on without much thought. A malicious/compromised website can make HTTP requests to `localhost`. Normally, such requests would trigger a CORS preflight check which would prevent the request; however, some requests are "simple" and do not require a preflight check. These endpoints, if enabled and not secured, are vulnerable to being triggered. Production environments typically disable unused endpoints and secure/restrict access to needed endpoints. A more likely victim is the developer in their local development host, who has enabled endpoints without security for the sake of easing development. This issue has been addressed in version 3.8.3. Users are advised to upgrade.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.micronaut:micronaut-http-server | 3.8.3 | GHSA-583g-g682-crxf |
| Maven | io.micronaut:micronaut-http-server-netty | 3.8.3 | GHSA-583g-g682-crxf |
| Maven | io.micronaut:micronaut-http-server-tck | 3.8.3 | GHSA-583g-g682-crxf |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| micronaut-projects | micronaut-core | < 3.8.3 |
Weakness: CWE-15, CWE-664, CWE-610 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L