Samsung MagicINFO 9 Server copyResourceToFile Unrestricted File Upload Remote Code Execution Vulnerability
The copyResourceToFile method in Samsung MagicINFO 9 Server fails to validate user-supplied data, allowing an unauthenticated attacker to upload arbitrary files. This can be leveraged 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 copyResourceToFile method does not validate or restrict the type and content of files supplied by the user before saving them.
Impact
An unauthenticated remote attacker could upload arbitrary files and execute code with SYSTEM privileges on affected installations.
What the attacker needed
Network access to the server; no authentication required
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 file upload flaw in a server program. The server accepts files from users without checking what kind of file they are, so an attacker can send a harmful file and then run it on the machine. Because the server runs with high privileges, the attacker could take full control.
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.