> 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/authentication/password-brute-force-via-password-change.md).

# Passwort-Brute-Force über die Passwortänderungsfunktion

### Passwort-Brute-Force über Passwortänderung

Dieses Labor präsentiert eine Schwachstelle in der Funktionalität von **Passwortänderung**, wodurch ein Angriff durch **Brute Force**. / Ziel ist es, das Passwort von **Carlos**, und dann auf seine Seite \*\* zuzugreifen

**Bereitgestellte Zugangsdaten:**

* Benutzer: `wiener`
* Passwort: `peter`

**Zielbenutzer:**

* `carlos`

Ein Abschnitt ermöglicht es Ihnen, das Passwort nach der Authentifizierung zu ändern. / Wenn ein falsches **aktuelles Passwort** eingegeben wird, gibt die Anwendung eine spezifische Fehlermeldung zurück.

<figure><img src="/files/459a911ade301910f2a8c1f6f3da160dfa8bbc86" alt=""><figcaption></figcaption></figure>

Beispiel für eine von der Anwendung gesendete Anfrage:

{% code overflow="wrap" %}

```bash
username=wiener&current-password=test&new-password-1=test1234&new-password-2=test123
```

{% endcode %}

Wenn das `current-password` Feld ungültig ist, weist die angezeigte Fehlermeldung darauf hin, dass das aktuelle Passwort falsch ist.

<figure><img src="/files/6ac38236ee1bf655b963b76986a275a84c6702eb" alt=""><figcaption></figcaption></figure>

Beim Ersetzen `wiener` durch `carlos` in der Anfrage, **bleibt die Fehlermeldung gleich**, solange das getestete Passwort nicht das richtige ist. Konfigurieren Sie einen Burp-Intruder-Angriff

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

Allerdings bei **das richtige Passwort**, ändert sich die Fehlermeldung:/ anstatt des falschen Passworts zeigt die Anwendung an, dass **die Anmeldeinformationen nicht übereinstimmen**.

Dieser Unterschied in der Antwort ermöglicht es uns, **ein gültiges Passwort von einem ungültigen zu unterscheiden**.

<figure><img src="/files/4548deb6662a6b0437369b5e2da729f790da502c" 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/authentication/password-brute-force-via-password-change.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.
