> ## Documentation Index
> Fetch the complete documentation index at: https://rootea.es/llms.txt
> Use this file to discover all available pages before exploring further.

# Oouch

> Verified writeups for the Oouch machine of Hack The Box

# Oouch

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> OAuth logic break → Bearer token theft → uWSGI RCE → DBus privesc</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                                                                                                                                                                                                                        |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | Difficulty       | Hard                                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | Vector           | <span className="vbadge vbadge-linux-privesc">Linux privesc</span>                                                                                                                                                                                                                                                                                                                                                                       |
  | IP               | `10.10.10.177`                                                                                                                                                                                                                                                                                                                                                                                                                           |
  | Retirement date  | 2020-08-01                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | Skills           | FTP Enumeration Abusing OAuth Endpoint Virtual Hosting Enumeration Breaking OAuth Logic - Authorize as Administrator Registering a new application - Django Docs Abusing Authorization Workflow Token Stealing Playing with Bearer Tokens - Abusing Authentication Information Leakage Host Discovery && Port Discovery - Bash Scripting PIVOTING UWSGI Exploitation \[RCE] - User Pivoting Abusing DBUS Message \[Privilege Escalation] |
</div>

## Writeups

| Language | Author      | Format | Link                                                     |
| -------- | ----------- | ------ | -------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar** | Vídeo  | [Open](https://www.youtube.com/watch?v=uIIZG2miowo)      |
| 🇬🇧 EN  | **0xdf**    | Texto  | [Open](https://0xdf.gitlab.io/2020/08/01/htb-oouch.html) |
| 🇬🇧 EN  | **IppSec**  | Vídeo  | [Open](https://www.youtube.com/watch?v=EUtqjK27MxQ)      |

## Skill resources

Curated documentation for each technique listed in the *Skills* column above. Sources: HackTricks, GTFOBins, PortSwigger, etc.

| Skill                                | Source      | Link                                                                                                              |
| ------------------------------------ | ----------- | ----------------------------------------------------------------------------------------------------------------- |
| Subdomain Enumeration                | HackTricks  | [Open](https://book.hacktricks.wiki/en/generic-methodologies-and-resources/external-recon-methodology/index.html) |
| Information Leakage                  | HackTricks  | [Open](https://book.hacktricks.wiki/en/pentesting-web/information-leak.html)                                      |
| Port Forwarding / Pivoting           | HackTricks  | [Open](https://book.hacktricks.wiki/en/generic-hacking/tunneling-and-port-forwarding.html)                        |
| OAuth Authentication Vulnerabilities | PortSwigger | [Open](https://portswigger.net/web-security/oauth)                                                                |
| Remote Code Execution (RCE)          | HackTricks  | [Open](https://book.hacktricks.wiki/en/pentesting-web/command-injection.html)                                     |

## Related skills worth mastering

Local File Inclusion (LFI) · Remote File Inclusion (RFI) · Shellshock (CVE-2014-6271)

## If you liked this machine, try

* [Talkative](/en/htb/machines/linux/dificil/talkative) — Linux, Hard
* [Meta](/en/htb/machines/linux/medio/meta) — Linux, Medium
* [Feline](/en/htb/machines/linux/dificil/feline) — Linux, Hard
* [Player](/en/htb/machines/linux/dificil/player) — Linux, Hard
* [Unbalanced](/en/htb/machines/linux/dificil/unbalanced) — Linux, Hard

***

## Comments & tips

Did the official writeup not work? Found a smarter trick? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="machine:oouch" data-giscus-lang="en" />

*Last updated: 2026-07-13*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Oouch — HTB Writeup Index","name":"Oouch","url":"https://rootea.es/en/htb/machines/linux/dificil/oouch","inLanguage":"en","datePublished":"2020-08-01","dateModified":"2026-07-13","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Subdomain Enumeration, Information Leakage, Port Forwarding / Pivoting, OAuth Authentication Vulnerabilities, Remote Code Execution (RCE)","isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"},"proficiencyLevel":"Difícil"}`}
</script>

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://rootea.es/en"},{"@type":"ListItem","position":2,"name":"Linux","item":"https://rootea.es/en/htb/machines/linux/dificil/index"},{"@type":"ListItem","position":3,"name":"Hard","item":"https://rootea.es/en/htb/machines/linux/dificil/index"},{"@type":"ListItem","position":4,"name":"Oouch","item":"https://rootea.es/en/htb/machines/linux/dificil/oouch"}]}`}
</script>
