<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/htb-cozyhosting-hvvpvfyu7" -->

---
title: HTB: CozyHosting | daily.dev
description: The post describes the process of compromising a web hosting company&#x27;s website running on Java Spring Boot. It covers reconnaissance, web application analysis,...
canonical: https://daily.dev/posts/htb-cozyhosting-hvvpvfyu7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: HTB: CozyHosting | daily.dev
og:description: The post describes the process of compromising a web hosting company&#x27;s website running on Java Spring Boot. It covers reconnaissance, web application analysis,...
og:url: https://daily.dev/posts/htb-cozyhosting-hvvpvfyu7
og:image: https://api.daily.dev/og/posts/hvVPvfYu7.png
og:image:alt: HTB: CozyHosting
og:image:width: 1200
og:image:height: 630
og:locale: en
---

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

# HTB: CozyHosting

**[0xdf hacks stuff](https://daily.dev/sources/0xdf)** · 21 min read · 0 upvotes · 0 comments

## Summary

The post describes the process of compromising a web hosting company's website running on Java Spring Boot. It covers reconnaissance, web application analysis, command injection, database exploration, and privilege escalation through SSH ProxyCommand.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://0xdf.gitlab.io/2024/03/02/htb-cozyhosting.html>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#postgresql](https://daily.dev/tags/postgresql), [#ubuntu](https://daily.dev/tags/ubuntu), [#spring-boot](https://daily.dev/tags/spring-boot), [#pentest](https://daily.dev/tags/pentest)

[View this post on daily.dev](https://daily.dev/posts/htb-cozyhosting-hvvpvfyu7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"HTB: CozyHosting","url":"https://daily.dev/posts/htb-cozyhosting-hvvpvfyu7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/htb-cozyhosting-hvvpvfyu7"},"datePublished":"2024-03-02T15:02:41.868Z","dateModified":"2024-05-09T08:39:06.345Z","description":"The post describes the process of compromising a web hosting company's website running on Java Spring Boot. It covers reconnaissance, web application analysis,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b40c0b33ce8fbc9e8390d307e4763572?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b40c0b33ce8fbc9e8390d307e4763572?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"0xdf hacks stuff","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"0xdf hacks stuff","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/16cdada70d5f4fac8b588c53bcf005ff","url":"https://daily.dev/sources/0xdf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/htb-cozyhosting-hvvpvfyu7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,postgresql,ubuntu,spring-boot,pentest","timeRequired":"PT21M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"0xdf hacks stuff","item":"https://daily.dev/sources/0xdf"},{"@type":"ListItem","position":3,"name":"HTB: CozyHosting"}]}
```

