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

# Kotarak

> Verified writeups for the Kotarak machine of Hack The Box

# Kotarak

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> SSRF → Tomcat WAR → wget CVE-2016-4971 → pivoting</p>

<div className="cve-row"><span className="cve-row-label">CVE / Bulletins:</span> <a className="cve-chip" href="https://nvd.nist.gov/vuln/detail/CVE-2016-4971" target="_blank" rel="noopener">CVE-2016-4971 ↗</a></div>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                   |
  | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                                                                                                               |
  | Difficulty       | Hard                                                                                                                                                                                                                                |
  | Vector           | <span className="vbadge vbadge-ad">Active Directory</span>                                                                                                                                                                          |
  | IP               | `10.10.10.55`                                                                                                                                                                                                                       |
  | Retirement date  | 2021-05-19                                                                                                                                                                                                                          |
  | Skills           | Server Side Request Forgery (SSRF) \[Internal Port Discovery] Information Leakage \[Backup] Tomcat Exploitation \[Malicious WAR] Dumping hashes \[NTDS] Wget 1.12 Vulnerability \[CVE-2016-4971] \[Privilege Escalation] (PIVOTING) |
</div>

## Writeups

| Language | Author      | Format | Link                                                       |
| -------- | ----------- | ------ | ---------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar** | Vídeo  | [Open](https://www.youtube.com/watch?v=q2Cv2IQUzdw)        |
| 🇬🇧 EN  | **0xdf**    | Texto  | [Open](https://0xdf.gitlab.io/2021/05/19/htb-kotarak.html) |
| 🇬🇧 EN  | **IppSec**  | Vídeo  | [Open](https://www.youtube.com/watch?v=38e-sxPWiuY)        |

## Skill resources

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

| Skill                       | Source     | Link                                                                                               |
| --------------------------- | ---------- | -------------------------------------------------------------------------------------------------- |
| 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)         |
| Server-Side Request Forgery | HackTricks | [Open](https://book.hacktricks.wiki/en/pentesting-web/ssrf-server-side-request-forgery/index.html) |

## Related skills worth mastering

Cross-Site Scripting (XSS) · Remote Code Execution (RCE)

## If you liked this machine, try

* [Horizontall](/en/htb/machines/linux/facil/horizontall) — Linux, Easy
* [Shrek](/en/htb/machines/linux/dificil/shrek) — Linux, Hard
* [Acute](/en/htb/machines/windows/dificil/acute) — Windows, Hard
* [TimeLapse](/en/htb/machines/windows/facil/timelapse) — Windows, Easy
* [Talkative](/en/htb/machines/linux/dificil/talkative) — 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:kotarak" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Kotarak — HTB Writeup Index","name":"Kotarak","url":"https://rootea.es/en/htb/machines/linux/dificil/kotarak","inLanguage":"en","datePublished":"2021-05-19","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Information Leakage, Port Forwarding / Pivoting, Server-Side Request Forgery","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":"Kotarak","item":"https://rootea.es/en/htb/machines/linux/dificil/kotarak"}]}`}
</script>
