Skip to content
RCE Write-up Advanced

Out-Of-Bond Remote code Execution(RCE) on De Nederlandsche Bank N.V. with burp-suite collaborator

An endpoint accepted user input that was passed to an LDAP lookup, allowing an attacker to trigger out-of-band remote code execution. The attacker used a Burp Collaborator server to receive DNS interactions and exfiltrate the hostname via a crafted LDAP URL.

Santosh Kumar Sha Follow

Published on infosecwriteups.com

My name is Santosh Kumar Sha, I’m a Security Researcher/Ethical Hacker from India(Assam). In this article, I will be Describing How I found Out-Of-Bond Remote code Execution(RCE) on De Nederlandsche Bank N.V. with burp-suite collaborator

Santosh Kumar Sha(@killmongar1996), on infosecwriteups.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.

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

How it worked

Root cause

Likely the application passed user-supplied input directly to an LDAP query without proper validation, allowing command injection.

Impact

An attacker could execute arbitrary commands on the server, potentially leading to full compromise.

What the attacker needed

Target endpoint accepts user input; attacker has a Burp Collaborator server

How it was found

  1. Gather subdomains and parameters using subfinder, gau, and waybackurls.
  2. Identify an endpoint that accepts input.
  3. Try RCE payloads but they are blocked by WAF.
  4. Use Burp Collaborator to test out-of-band interactions with curl, ping, and nslookup, but no success.
  5. Try an LDAP payload pointing to the Collaborator server and receive a DNS pingback.
  6. Escalate by using an LDAP payload with a command substitution to exfiltrate the hostname.

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 write-up has not been written yet. The Original tab links to the source.

The website had a feature that took a web address and tried to fetch it. The attacker pointed it at a special server they controlled and saw a request arrive, proving the site could be tricked into running commands. This is called remote code execution because the attacker can make the server run their code.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Santosh Kumar Sha

View all

16 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.