Multiple critical vulnerabilities in Trend Micro InterScan Web Security Virtual Appliance (IWSVA)
The IWSVA web interface had multiple flaws: a CSRF token check bypass via multipart/form-data, stored and reflected XSS, an authorization bypass using path traversal, an authentication bypass when requests appear to come from localhost (reachable via the proxy), and an unauthenticated command injection in the login password field. An unauthenticated attacker could chain these to execute commands as root, and an attacker with proxy access could take over the appliance without user interaction.
sec-consult.com
Published on sec-consult.com
CVE-2020-8461, CVE-2020-8462, CVE-2020-8463, CVE-2020-8464, CVE-2020-8465, CVE-2020-8466
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely multiple design and implementation mistakes: CSRF checks skipped for multipart bodies, path matching that ignores traversal, localhost trust without verifying the source, and unsanitised input passed to a shell command.
Impact
An unauthenticated attacker could gain root access to the appliance, either by chaining CSRF and command execution (requiring an admin to be logged in and visit a malicious page) or by using the proxy to bypass authentication and then execute commands, without user interaction.
What the attacker needed
Network access to the appliance; for CSRF: admin logged in and visits malicious page; for proxy attack: access to proxy port 8080
The fix
The vendor provided a patch (IWSVA 6.5 SP2 EN Patch 4 Build 1919) that fixes the issues, though the advisory notes that some fixes were only partial during rechecks; administrators should install the patch and enable the XSS protection configuration.
How it was found
- Send a login request with a password containing shell metacharacters to the login endpoint.
- Observe that the command in the password is executed and its output written to a file.
- Alternatively, use the proxy to send a request to the admin interface that appears to come from localhost, bypassing authentication.
- Use the authorization bypass path to reach restricted scripts.
- Upload a crafted update file that contains a script, which is executed as root.
- For CSRF, trick a logged-in admin into submitting a multipart form that adds a new admin user.
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 write-up has not been written yet. The Original tab links to the source.
This report describes several security holes in a security appliance (a device that filters web traffic). One hole let an attacker run commands on the device just by sending a specially crafted login request, and others let them bypass login checks or trick an admin's browser into making changes. Together, these could give an attacker full control of the device.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.