{"id":"CVE-2024-23639","published":"2024-02-09T00:15:34Z","modified":"2024-08-01T23:06:25Z","title":"micronaut-core management endpoints vulnerable to drive-by localhost attack","vendor":"micronaut-projects","product":"micronaut-core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00261,"percentile":0.18234,"provenance":"source"},"cwes":[{"id":"CWE-15","name":"External Control of System or Configuration Setting"},{"id":"CWE-664","name":"Improper Control of a Resource Through its Lifetime"},{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"}],"references":[{"url":"https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-583g-g682-crxf","tags":["x_refsource_CONFIRM"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":3.65},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"micronaut-projects","affectedVersions":[{"vendor":"micronaut-projects","product":"micronaut-core","versions":["< 3.8.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-22T15:05:36.495631Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.micronaut:micronaut-http-server","vulnerableRanges":["<3.8.3"],"patched":["3.8.3"],"from":["GHSA-583g-g682-crxf"],"provenance":"source"},{"ecosystem":"Maven","package":"io.micronaut:micronaut-http-server-netty","vulnerableRanges":["<3.8.3"],"patched":["3.8.3"],"from":["GHSA-583g-g682-crxf"],"provenance":"source"},{"ecosystem":"Maven","package":"io.micronaut:micronaut-http-server-tck","vulnerableRanges":["<3.8.3"],"patched":["3.8.3"],"from":["GHSA-583g-g682-crxf"],"provenance":"source"}],"summary":{"text":"Unsecured management endpoints in micronaut-core, the JVM framework from micronaut-projects, can be triggered by a malicious or compromised website sending simple cross-origin requests to localhost, since such requests skip the CORS preflight check. An attacker needs a victim running an enabled, unsecured management endpoint on their local host and browsing to the attacker's site, with no authentication required; the issue is addressed in version 3.8.3.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:39Z"},"euvd":{"id":"EUVD-2024-0520","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-micronaut-projects-micronaut-core-cve-2022-21700","parents":[{"from":"CVE-2022-21700","to":"CVE-2024-23639","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["http-server/src/main/java/io/micronaut/http/server/cors/CorsFilter.java"],"commits":["https://github.com/micronaut-projects/micronaut-core/commit/b8ec32c311689667c69ae7d9f9c3b3a8abc96fe3","https://github.com/micronaut-projects/micronaut-core/commit/01adb21e57137caaf7004313d2055c5a78b1f47b"],"basis":"rarely changed file"}]}]}}