XML import
Feed it XML, define an entity, read what the server can read.
An XML parser that resolves external entities will read files and make requests for you. Find the parser, then decide what you want it to fetch.
Every injection bug is the same shape: a string you control gets glued into something that an interpreter later parses. SQL, NoSQL, XML, templates and XPath differ only in which interpreter you are talking to and which syntax breaks it.
Feed it XML, define an entity, read what the server can read.