Description
Heym before 0.0.21 contains a path traversal vulnerability in the file upload endpoint that allows authenticated users to write attacker-controlled files to arbitrary locations by supplying a crafted filename with traversal sequences. Attackers can exploit the unvalidated filename parameter in the upload_file() handler to bypass path restrictions and write, read, or delete files outside the intended storage directory.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 0.0.21
835843e6d2bf7d018cbb8e50f28f0426eaa20c84 (git)
Credits
Chia Min Jun Lennon
References
github.com/heymrun/heym/pull/92
github.com/heymrun/heym/releases/tag/v0.0.21
github.com/heymrun/heym/pull/92
github.com/...ommit/835843e6d2bf7d018cbb8e50f28f0426eaa20c84
www.vulncheck.com/...h-traversal-file-upload-via-upload-file