CVE-2019-18212
Xml Language Server Project Xml Server Project vulnerability
XMLLanguageService.java in XML Language Server (aka lsp4xml) before 0.9.1, as used in Red Hat XML Language Support (aka vscode-xml) before 0.9.1 for Visual Studio and other products, allows a remote attacker to write to arbitrary files via Directory Traversal.
Affected products
Xml Server Project, Wild Web Developer, Theia Xml Extension. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Xml Language Server Project Xml Server Project runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/angelozerr/lsp4xml/pull/567 · Patch
- github.com/redhat-developer/vscode-xml/ · Patch
- github.com/angelozerr/lsp4xml/blob/master/CHANGELOG.md#others · Third Party Advisory
- marketplace.visualstudio.com/items?itemName=redhat.vscode-xml · Third Party Advisory
- www.shielder.it/blog/dont-open-that-xml-xxe-to-rce-in-xml-plugins-for-vs-code-eclipse-thei · Exploit
- github.com/angelozerr/lsp4xml/
- nvd.nist.gov/vuln/detail/CVE-2019-18212
- cve.org/CVERecord?id=CVE-2019-18212
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.