Official Top 10 selection
It's A PHP Unserialization Vulnerability Jim But Not As We Know It
BSidesMCR 2018: It's A PHP Unserialization Vulnerability Jim, But Not As We Know It by Sam Thomas
Any PHP file operation on an attacker-controlled path beginning phar:// unserializes the archive's metadata, so file-existence checks, XXE and SSRF bugs become object injection. A Phar can be disguised as a valid JPEG to survive upload checks, and POP gadget chains then give code execution, shown against Typo3, WordPress and TCPDF via Contao.
Preserved copies · Sam Thomas · Original publication ↗
Record
- Document
- BSidesMCR 2018: It's A PHP Unserialization Vulnerability Jim, But Not As We Know It by Sam Thomas
- Researcher
- Sam Thomas
- Published by
- Secarma Labs
- Date
- Format
- Recording
- Topic
- Server
In the archive
- Ranked #6 in the 2018 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Related sources
- File Operation Induced Unserialization via the “phar://” Stream Wrapper Whitepaper
Sam Thomas · Secarma Labs
Preserved copies of this source
Tags
This page is the archive's own catalogue record. The research is the work of Sam Thomas, first published at the original source. Preserved copies are kept so the citation survives its host.