Path traversal in Mastodon - CVE-2023-36460

 

Path traversal in Mastodon - CVE-2023-36460

Published: July 10, 2023


Vulnerability identifier: #VU78046
CSH Severity: Medium
CVSS v4: 9.4 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H]
CVE-ID: CVE-2023-36460
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote user can send a specially crafted HTTP request and create and overwrite arbitrary files on the system.


Affected software

Mastodon

How to mitigate CVE-2023-36460

Install update from vendor's website.

Mastodon - addressed in versions 3.5.9, 4.0.5, 4.1.3

External References

Related Security Bulletins