You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a vulnerability in unarr, which will lead to path traversal vulnerability
Go unarr does not check the contents of the archive.
Exploit process
An attacker can construct a malicious tar package (or any compressed archive file).
As shown in the figure below, obviously, this will not succeed under the tar command, because the tar command fixes the vulnerability.
The victim uses go unarr to unzip the archive
As shown in the figure below, path traversal occurs during go unarr decompression, and we upload the file to the.. / directory
By triggering the path traversal vulnerability, an attacker can store any file in any privileged place (which means that rce can be caused under root privileges)
The text was updated successfully, but these errors were encountered:
There is a vulnerability in unarr, which will lead to path traversal vulnerability
Go unarr does not check the contents of the archive.
Exploit process
An attacker can construct a malicious tar package (or any compressed archive file).
As shown in the figure below, obviously, this will not succeed under the tar command, because the tar command fixes the vulnerability.
The victim uses go unarr to unzip the archive
As shown in the figure below, path traversal occurs during go unarr decompression, and we upload the file to the.. / directory
By triggering the path traversal vulnerability, an attacker can store any file in any privileged place (which means that rce can be caused under root privileges)
The text was updated successfully, but these errors were encountered: