CVE-2019-18213
Xml Language Server Project Xml Server Project vulnerability
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 XXE via a crafted XML document, with resultant SSRF (as well as SMB connection initiation that can lead to NetNTLM challenge/response capture for password cracking). This occurs in extensions/contentmodel/participants/diagnostics/LSPXMLParserConfiguration.java.
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/566 · 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-18213
- cve.org/CVERecord?id=CVE-2019-18213
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.