Samsung MagicINFO 9 Server filenameHasExecutableType Unrestricted File Upload Remote Code Execution Vulnerability
The filenameHasExecutableType method in Samsung MagicINFO 9 Server did not properly validate user-supplied data, allowing an unauthenticated attacker to upload arbitrary files. An attacker could then leverage this to execute 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. Authentication is not required to exploit this vulnerability.
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 filenameHasExecutableType check did not correctly determine whether an uploaded file was executable, so dangerous files were accepted.
Impact
An unauthenticated remote attacker could execute arbitrary code as SYSTEM on the affected server.
What the attacker needed
Network access to the server; no authentication needed
The fix
Samsung issued an update to correct the 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.
The server's check on whether an uploaded file is executable is flawed, so someone without logging in can upload a file of their choosing, which can lead to code running as SYSTEM.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.