Official nomination
Exploiting Arbitrary Object Instantiations in PHP without Custom Classes
Exploiting PHP arbitrary object instantiation, where an attacker controls the class name and first constructor argument in new $a($b), using only built-in classes. Passing ImageMagick scheme strings such as vid:msl:/tmp/php* to the Imagick constructor reads attacker-uploaded temporary files and writes a web shell in one unauthenticated request.
Preserved copies · Arseniy Sharoglazov and @_mohemiv · Original publication ↗
Record
- Researcher
- Arseniy Sharoglazov and @_mohemiv
- Published by
- PT SWARM
- Topic
- Server
In the archive
- Nominated for the 2022 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
Tags
This page is the archive's own catalogue record. The research is the work of Arseniy Sharoglazov and @_mohemiv, first published at the original source. Preserved copies are kept so the citation survives its host.