↓ Skip to main content

Linux

Linux boxes, from an ARM build inside a card reader to a 2.6.32 kernel that still had a local root exploit sitting in it.

2015

patrik.re

Shopify POS firmware: extracting a root hash

An in-scope Shopify POS endpoint exposed the card reader's firmware bundles, which unpack via binwalk, a dd carve at 0x202024 and jffs2dump into a JFFS2 root filesystem containing a salted MD5 root hash.

2013

patrik.re Archive

PHP 5.3.3–5.3.6 socket_connect Bind Shell

A public PHP 5.3.3-5.3.6 socket_connect exploit carrying a bind-TCP shell payload, dropped as an uploaded PHP file and located with an nmap sweep of ports 4000-4500.

patrik.re Archive

SQL injection to root on a 2013 lab box

Chaining a login-form SQL injection through sqlmap's --os-shell into a Linux 2.6.32 local root exploit to go from the 'nobody' user to full control of the server.