WSO2 API Manager SynapseArtifactUploaderAdmin Unrestricted File Upload Remote Code Execution Vulnerability
The SynapseArtifactUploaderAdmin endpoint in WSO2 API Manager does not properly validate user-supplied data, allowing an authenticated attacker to upload arbitrary files. This can lead to remote code execution in the context of the service account.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of WSO2 API Manager. Authentication is 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
Impact
An authenticated attacker could execute arbitrary code with the privileges of the service account.
What the attacker needed
Authentication to WSO2 API Manager
The fix
WSO2 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. A logged-in user can send a file that the server should not accept, and because the server does not check it properly, the attacker can run their own code on the machine. That gives them the same powers as the account the service runs under.
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.