microsoft / msopentech-tools-for-intellij

Plugin for easy and fast development to enable developers of Android Apps to connect to Office 365 services and Azure Mobile Services, and developers of Java middleware to connect to Azure compute services
Apache License 2.0
28 stars 34 forks source link

Xml external entity injection vulnerability #385

Open QiAnXinCodeSafe opened 5 years ago

QiAnXinCodeSafe commented 5 years ago

The xml string is parsed in the getXMLValue method in XmlHelper.java, but the xml external entity is not disabled. When the xml is controlled by the attacker, the xxe attack may be constructed by constructing a malicious xml string. 图片