
Other attacks can access local resources that may not stop returning data, possibly impacting application availability if too many threads or processes are not released.
Xee xml code#
In some situations, an XML processor library that is vulnerable to client-side memory corruption issues may be exploited by dereferencing a malicious URI, possibly allowing arbitrary code execution under the application account. This type of attack uses external entity. Since the attack occurs relative to the application processing the XML document, an attacker may use this trusted application to pivot to other internal systems, possibly disclosing other internal content via http(s) requests or launching a CSRF attack to any unprotected internal services. Parsing untrusted XML files with a weakly configured XML parser may lead to an XML External Entity (XXE) attack. which, when included, allow similar external resource inclusion style attacks.Īttacks can include disclosing local files, which may contain sensitive data such as passwords or private user data. Similar attack vectors apply the usage of external DTDs, external stylesheets, external schemas, etc. If the system identifier contains tainted data and the XML processor dereferences this tainted data, the XML processor may disclose confidential information normally not accessible by the application. The XML processor then replaces occurrences of the named external entity with the contents dereferenced by the system identifier. The system identifier is assumed to be a URI that can be dereferenced (accessed) by the XML processor when processing the entity. There are a few different types of entities (external entity), that can access local or remote content via a declared system identifier. The standard defines a concept called an entity, which is a storage unit of some type. The XML standard defines the structure of an XML document. XML external entity (XXE) flaws enable attackers to upload custom XML containing hostile content, forcing XML processors to perform unauthorized actions. This attack occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser.This attack may lead to the disclosure of confidential data, denial of service, server side request forgery and other system impacts.
Xee xml software#
“The software processes an XML document that can contain XML entities with URIs that resolves to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.”Īn XML External Entity attack is a type of attack against an application that parses XML input. CWE-611 describes XXE injection as follows:
