<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ruby on p4n4Sec</title><link>https://p4n4s.com/tags/ruby/</link><description>Recent content in Ruby on p4n4Sec</description><generator>Hugo -- 0.147.7</generator><language>en</language><lastBuildDate>Sat, 18 Oct 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://p4n4s.com/tags/ruby/index.xml" rel="self" type="application/rss+xml"/><item><title>HTB: Linux — Precious</title><link>https://p4n4s.com/posts/htb/box/precious/</link><pubDate>Sat, 18 Oct 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/precious/</guid><description>Precious is an Easy Difficulty Linux machine, that focuses on the &lt;code>Ruby&lt;/code> language. It hosts a custom &lt;code>Ruby&lt;/code> web application, using an outdated library, namely pdfkit, which is vulnerable to &lt;code>CVE-2022-25765&lt;/code>, leading to an initial shell on the target machine. After a pivot using plaintext credentials that are found in a Gem repository &lt;code>config&lt;/code> file, the box concludes with an insecure deserialization attack on a custom, outdated, &lt;code>Ruby&lt;/code> script.</description></item></channel></rss>