XML
Exploitation
The example below is a backend code vulnerable to xml code injection
XML payload used to exploit
Fix
In python 2 the fix is do not allow untrusted sources such as user inputs or random file uploads.
In python 3, the library introduced fixes to many security issues and the external sources need to be enabled explicitly as a new parser, avoid that.
Last updated