HexBrain

drchrono · Report #55431

XML Parser Bug: XXE over which leads to RCE

Validstatus
35upvotes
13 Jun 2016disclosed

How it was found

Hello security team,

I have reported this issue on Feb 6, 2015 and i'm resubmit it here again. I was able to do XXE attack on your site and exposed the /etc/passwd file. Scenario:

  1. Login to drchrono site.
  2. Click on patients->patient
  3. Click on ' Update patient (via C-CDA XML).'
  4. Select the file I attached, (AXAX000001.xml), I download it from your site and added there struct for my exploit.
  5. Click on 'Preview' and you'll see the content of /etc/passwd, (That can be any file on the system or any command). See xxe.png atttachement.

Best regards, Sasi

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original