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

---
title: HTB: Facts | daily.dev
description: A detailed walkthrough of the HackTheBox &#x27;Facts&#x27; machine, a Linux box running Camaleon CMS 2.9.0 on Ruby on Rails. The attack chain involves exploiting...
canonical: https://daily.dev/posts/htb-facts-09nlopse0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: HTB: Facts | daily.dev
og:description: A detailed walkthrough of the HackTheBox &#x27;Facts&#x27; machine, a Linux box running Camaleon CMS 2.9.0 on Ruby on Rails. The attack chain involves exploiting...
og:url: https://daily.dev/posts/htb-facts-09nlopse0
og:image: https://api.daily.dev/og/posts/09nlOpSe0.png
og:image:alt: HTB: Facts
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: Facts

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

## Summary

A detailed walkthrough of the HackTheBox 'Facts' machine, a Linux box running Camaleon CMS 2.9.0 on Ruby on Rails. The attack chain involves exploiting CVE-2025-2304, a mass assignment vulnerability in Camaleon's password update endpoint, to escalate a regular user account to administrator. Admin credentials are then used to authenticate to a local MinIO S3 service, where an encrypted SSH private key is retrieved from a bucket resembling a home directory. The passphrase is cracked with john using rockyou.txt. For root privilege escalation, a sudo rule allows running 'facter' (Puppet's Ruby-based system inventory tool) as any user, which can load arbitrary Ruby code from a custom facts directory. A 'Beyond Root' section covers an alternative foothold via a path traversal vulnerability in Camaleon's S3 uploader and decrypting Rails session cookies using a leaked master key.

## Full article

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

## Similar posts on daily.dev

- [HTB: Barrier](https://daily.dev/posts/htb-barrier-5m5e3sa5g) · 0xdf hacks stuff · 0 upvotes · 0 comments
- [HTB: Orion](https://daily.dev/posts/htb-orion-p1pnwvkbh) · 0xdf hacks stuff · 0 upvotes · 0 comments
- [HTB — Strutted Writeup: Linux Machine](https://daily.dev/posts/htb-strutted-writeup-linux-machine-x6cn8azui) · InfoSec Write-ups · 1 upvotes · 0 comments
- [HTB: CodeTwo](https://daily.dev/posts/htb-codetwo-klj991bhn) · 0xdf hacks stuff · 2 upvotes · 0 comments
- [HTB: Sorcery](https://daily.dev/posts/htb-sorcery-yhr9k53zj) · 0xdf hacks stuff · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#rails](https://daily.dev/tags/rails)

[View this post on daily.dev](https://daily.dev/posts/htb-facts-09nlopse0)

```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: Facts","url":"https://daily.dev/posts/htb-facts-09nlopse0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/htb-facts-09nlopse0"},"datePublished":"2026-06-06T15:03:09.813Z","dateModified":"2026-06-06T15:03:36.276Z","description":"A detailed walkthrough of the HackTheBox 'Facts' machine, a Linux box running Camaleon CMS 2.9.0 on Ruby on Rails. The attack chain involves exploiting...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","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-facts-09nlopse0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,rails","timeRequired":"PT37M"}
{"@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: Facts"}]}
```

