Skip to content
SQL injection Disclosed report Intermediate

SOAP WSDL Parser SQL Code Execution

The SOAP WSDL parser on a DoD website allowed the researcher to read all functions from the SOAP Admin Panel and then repeat the SQL query with a tampered request containing a custom SQL command. The researcher extracted all database names as proof of concept and believed they could log in to the admin panel and compromise the entire DoD Information System.

websecnl Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 6 days
  • Fixed in 18 days
  • Disclosed after 5 months

Summary by the program

A critical SOAP WSDL Parser SQL Code Execution vulnerability (assigned CVE-2018-16803) was discovered on a Department of Defense (DoD) website by Joel Aviad Ossi. If properly exploited this could have resulted in the complete loss of the website and the underlining information system. Researcher websecnl was able to expertly demonstrate this vulnerability to the DoD's Vulnerability Disclosure Program (VDP), and it was rapidly mitigated by the system owner. Very well done websecnl, thank you!

DoD VDP Team

The report

Summary: SOAP WSDL Parser SQL Code Execution

Description: It was possible to parse WSDL resources and read all functions from the SOAP Admin Panel, therefor i was able to repeat the sql query with a tampered request with my own custom SQL command. i was able to extract all the database names for PoC, there is no doubt in my mind that i could login to the admin panel and compromise the entire DoD Information System.

Impact

Remote Code Execution

Step-by-step Reproduction Instructions

  1. Visit:███ and go to the staff links 'CIMScan'

Image: █████/34570b2eaa899ae001e1bc666be3546a.png 2. ████/c400bc1369bddeca580646b14c38a562.png 3. ████/32e085f593bfbf8599359d968cf52dc0.png

Product, Version, and Configuration (If applicable)

Web Application

Suggested Mitigation/Remediation Actions

I will report it to CIMScan since i am not sure if this affect's your code, it might very well be the code of CIMScan which in that case you will need to remove it from your website to prevent employees from being compromised.

Impact

Remote Code Execution

The original report as published on HackerOne, by websecnl. 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 SOAP WSDL parser passed user-supplied input into an SQL query without proper sanitisation, allowing SQL injection.

Impact

The researcher could extract all database names and believed they could log in to the admin panel and compromise the entire DoD Information System, potentially leading to remote code execution.

What the attacker needed

Access to the staff link 'CIMScan'; ability to send tampered SOAP requests

The fix

The vulnerability was rapidly mitigated by the system owner, and the researcher suggested reporting it to CIMScan if the issue originated in their code.

How it was found

  1. Visit the website and go to the staff link 'CIMScan'.
  2. Parse WSDL resources to read all functions from the SOAP Admin Panel.
  3. Send a tampered request with a custom SQL command to repeat the SQL query.
  4. Extract all database names as proof of concept.

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.

A SOAP WSDL parser is a tool that reads a description file (WSDL) to list the functions a web service offers. Here, the parser also ran SQL, the language used to talk to databases, and the researcher could change the request to run their own SQL commands. That let them see all database names, which is a serious step toward taking over the site.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by websecnl

View all

2 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.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.