Samsung MagicINFO 9 Server FtpMetaUploadServlet Directory Traversal Remote Code Execution Vulnerability
The FtpMetaUploadServlet class in Samsung MagicINFO 9 Server fails to validate a user-supplied path before using it in file operations. An attacker who bypasses authentication can exploit this to execute arbitrary code with SYSTEM privileges.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Samsung MagicINFO 9 Server. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the servlet concatenates a user-supplied path into a file operation without normalising or restricting it to an allowed directory.
Impact
An attacker could execute arbitrary code as SYSTEM, though the text notes authentication is required and that the existing authentication mechanism can be bypassed.
What the attacker needed
Authentication bypass; network access to the server
The fix
Samsung has issued an update to correct this vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a directory traversal bug: a web component takes a file path from the user and uses it without checking it stays inside the intended folder. By supplying a path that climbs out of that folder, an attacker can write files to places they should not, and here that leads to running their own code on the server. The report says login is needed but that the login check can be bypassed.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.