RSSAmplifier

Blog

Stealthcopter

Recent content on Stealthcopter

sec.stealthcopter.comRSS feed ↗35 posts

Latest posts

REGEXSS: How .* Turned Into over $6k in Bounties

Overly-greedy regex replacements can break HTML sanitisation and lead to XSS. I’ve already pulled in over $6k from this bug class, and there are plenty more out there. Live demo included so you can have a play at exploiting it!

Patchstack CTF: Sneaky

Third write-up for the Sneaky Patchstack CTF challenge, exploring visual diffing and fun with PHP filter chains

Patchstack CTF: Blocked

Explore how creative tricks in PHP and WordPress allow you to bypass restrictions in a fun Patchstack CTF (S02E01) challenge and uncover neat tricks with filters and file paths!

Patchstack CTF: Cool Templates

This writeup explores a Patchstack WordPress CTF challenge where a vulnerable custom footer feature allows for dynamic function execution. The challenge involves bypassing a blocklist and REGEX restrictions on function names to execute arbitrary code.

JupiterX Core: Chaining Limited Vulns from SVG to RCE

tldr; On their own, these two vulnerabilities in JupiterX Core wouldn’t have been very impactful or likely to get a bounty; but by chaining them together, the exploit could be escalated from a simple SVG upload to full Remote Code Execution (RCE).

WPML Multilingual CMS Authenticated Contributor+ Remote Code Execution (RCE) via Twig Server-Side Template Injection (SSTI)

tldr; Server-Side Template Injection (SSTI) is one of my favorite vulnerabilities, but rarely do I see it outside of CTF competitions… The WPML Multilingual CMS Plugin for WordPress used by over 1 million sites is susceptible to an Authenticated (Contributor+) Remote Code Execution (RCE) vulnerability through a Twig server-side template injection.

Intigriti August 2024 CTF Defcon Challenge: Safe Notes

tldr; This challenge was fun and engaging, blending CSPT with an open redirect flaw to ultimately pull off a successful XSS attack and grab the flag!

Splashing around in the shallow end: My adventure into Bug Bounty Hunting

tldr; Reported ~300 vulns in WordPress plugins and themes, made about ~$27k. Have made some of my write-ups public and am working on a WordPress hacking workshop as an introduction to bug bounty.

Intigriti July 2024 CTF Challenge: Memo

This fun little challenge was to get reflected cross-site scripting (XSS) on a simple web app that is protected by a content security policy (CSP) and DOMPurify. The solution involves DOM clobbering, relative path abuse and a CSP bypass via HTML base tag injection.

NahamCon CTF 2024: My Shop Disaster

Solution for the WooCommerce WordPress plugin challenge that PatchStack submitted to the NahamCon 2024 CTF.

Unauthenticated RCE in Anti-Malware Security and Brute-Force Firewall GOTMLS WordPress Plugin CVE-2024-22144

Unauthenticated Remote Code Execution (RCE) by chaining multiple vulnerabilities in the Anti-Malware Security and Brute-Force Firewall GOTMLS WordPress Plugin

Intigriti February CTF Challenge: Love Letter Storage

tl;dr: Solved an awesome Valentine’s Day challenge by @goatsniff from Intigriti. I gained valuable insights into using character conversions to bypass XSS protections and learned about data exfiltration through the manipulation of cookie paths.

CVE-2024-0685 Ninja Contact Forms Data Export SQLi

The Ninja Forms Contact Form Plugin for WordPress is susceptible to an SQL injection vulnerability when processing data export requests.

Intigriti December CTF Challenge: Smarty Pants

I decided to dust off my hacking hat and delve back into CTF challenges with the Intigriti December challenge. Here’s my write-up on the journey I had with this interesting puzzle, teaching me new tricks and reinforcing old skills.

CVE-2022-39841 Medusa's leaky WebSocket

A critical vulnerability in Medusa allows for information leakage, including plaintext credentials, by attaching to an unauthenticated WebSocket and waiting for a user to make a configuration change.

dCTF - Just Take Your Time

Over the weekend I participated in dCTF by DragonSec SI along with some friends. There were some really interesting and unique challenges in this CTF.

CVE-2021-31607 SaltStack Minion Privledge Escaltion in Snapper Module

I discovered a command injection vulnerability in SaltStack’s Salt that allows privilege escalation using malicious filenames on a minion when the master calls snapper.diff. But… I was too slow!

CVE-2020-28243 (2) SaltStack Minion Denial of Service via Argument Injection

Recently I disclosed a local privilege escalation, CVE-2020-28243, in SaltStack’s Salt via specially crafted process names. However, due to an incomplete fix, argument injection leading to a low impact denial of service is still possible.

CVE-2020-28243 SaltStack Minion Local Privilege Escalation

I discovered a command injection vulnerability in SaltStack’s Salt that allows privilege escalation via specially crafted process names on a minion when the master calls restartcheck.

HTB CTF Write-up: Gunship

The HTB x Uni CTF 2020 - Qualifiers have just finished and I wanted write-up some of the more interesting challenges that we completed.

HTB CTF Write-up: Cargo Delivery

Cargo Delivery was a Python command line application that uses AES CBC encryption and is vulnerable to a padding oracle attack.

HTB CTF Write-up: Cached Web

The HTB x Uni CTF 2020 - Qualifiers have just finished and I wanted to write-up some of the more interesting challenges that we completed.

Metasploit Community CTF 2020 (Dec) Write-up: 5-of-clubs (port 8101)

Summary The 5-of-clubs challenge was to write a Metasploit module that is uploaded and run on a computer to which you do not have direct access. The module is uploaded along with a resource file that is used to automate Metasploit, the output is logged and can be viewed following execution.

Metasploit Community CTF 2020 (Dec) Write-up: 7-of-spades (port 8888)

Summary The 7-of-spades challenge is a basic Python web application that lists information about Metasploit modules. It uses a pickle saved in base64 to a cookie that can be modified to get remote code execution.

Metasploit Community CTF 2020 (Dec) Write-up: 9-of-clubs (port 1337)

This fun little challenge was solved by our binary exploitation expert: benything.

Metasploit Community CTF 2020 (Dec) Write-up: ace-of-clubs (port 9009)

Summary The ace-of-clubs challenge presented a SSH server on port 9009 that had an easy to guess login. This is followed by a privilege escalation to root in a custom binary using a file overwrite exploit.

Metasploit Community CTF 2020 (Dec) Write-up: queen-of-hearts (port 9008 & 9010)

Summary The queen-of-hearts challenge was on two ports, 9010 which contained a downloadable Java .jar file and 9008 which was the service that you needed to interact with. Initially it appeared that it was an insecure deserialisation exploit, and while it is likely that that was also present, the flag could be obtained using a simple logic flaw as the application was relying on a client-side check…

Metasploit Community CTF 2020 (Dec)

Metasploit ran another community CTF this year, and we decided to put forward a team. The team ended up bigger than all other teams I’ve been part of before and hence PrettyBeefy team was born.

About Me

@stealthcopter MSc Computer Security | OSCP I’m an Application Security Professional. I teach developers by creating insecure applications so they don’t have to :) I’ve made some open source software that you can find on Github

New Metasploit Module: enum_containers

I wrote a new metasploit module, enum_containers, that enumerates a target post exploit and detects container platforms and lists any containers that are actively running on them.

New Metasploit Module: docker_privileged_container_escape

I wrote a new metasploit module, docker_privileged_container_escape, that escapes from a docker container with access to the docker sock obtaining a root shell on the host operating system.

Docker Enumeration, Escalation of Privileges and Container Escapes (DEEPCE)

I developed a container enumeration script. Think of it like linpeas/linenum but for containers.

Portdroid - Network Analysis Kit & Port Scanner

PortDroid is a Network Analysis Application that helps Network Administrators, Penetration Testers and Hackers with several useful networking tools.

RootBeer - Root Detection Library for Android

A tasty root checker library and sample app. We’ve scoured the internets for different methods of answering that age old question… Has this device got root?

Python UUEncode Vulnerability

tl;dr Found a vuln in some old and mostly unused data format in python, spoke to Guido van Rossum (inventor of Python), and submitted a PR with a fix. I had a look at the Python source code for and discovered a vulnerability in the UUEncode methods in Python.