PT-2021-19917 · Micronaut · Micronaut

Jameskleeh

+1

·

Published

2021-07-16

·

Updated

2021-07-27

·

CVE-2021-32769

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Micronaut versions prior to 2.5.9
Description A path traversal vulnerability exists in Micronaut, allowing access to any file from a filesystem using "/../../" in the URL. This occurs because Micronaut does not restrict file access to configured paths. With a basic configuration, it is possible to access sensitive information.
Recommendations For versions prior to 2.5.9, as a temporary workaround, do not use ** in mapping, use only *, which exposes only the flat structure of a directory not allowing traversal. If using Linux, another workaround is to run Micronaut in chroot. To fully resolve the issue, update to version 2.5.9 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-32769
GHSA-CJX7-399X-P2RJ

Affected Products

Micronaut