01Description
An XML parser used by the application processed external entity definitions in user-supplied XML, including within file formats such as SVG and Office documents.
02Impact
An attacker can read files from the server, such as configuration files containing credentials, make requests to internal systems, or in some configurations cause denial of service.
03Severity
Typically
High
Typically High. High where local files can be read or internal systems reached. Medium if only blind, limited interaction is possible.
04How to verify
- 1Identify endpoints and uploads that accept XML or XML-based formats.
- 2Submit a payload defining an external entity pointing to a benign file or an out-of-band callback.
- 3Record whether entity content is returned or the callback is received.
Testing note: only test systems you are authorized to test, within the agreed scope and rules of engagement. Verification steps are written for professional testers and avoid destructive techniques.
05Remediation
- 1Disable external entity and DTD processing in every XML parser.
- 2Use less complex data formats such as JSON where possible.
- 3Keep XML libraries up to date.
Draft findings like this from your own evidence
Book a demo