Official Top 10 selection
Binary Webshell Through OPcache in PHP 7
A PHP 7 exploitation technique: OPcache's file cache stores compiled bytecode under a folder writable by the web user. Given an unrestricted file upload and the target's system_id (an md5 fingerprint computable from phpinfo()), an attacker overwrites a cached .bin file with a compiled webshell that runs when the matching PHP script is requested, bypassing hardened read-only web roots. Variants defeat memory-cache priority and timestamp validation using WordPress's known-static file timestamps.
Preserved copies · Ian Bouchard · Original publication ↗
Record
- Researcher
- Ian Bouchard
- Published by
- GoSecure
- Date
- Topic
- Server
In the archive
- Ranked #10 in the 2016–17 Top 10 Web Hacking Techniques · Open this archive record
2016–17Results ↗Nominations ↗Voting ↗
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
Official voting stage
Related sources
- PHP7 OPcache override
Author not stated
External source · no preserved copy
Tags
This page is the archive's own catalogue record. The research is the work of Ian Bouchard, first published at the original source. Preserved copies are kept so the citation survives its host.