Official nomination
Iconv, set the charset to RCE: Exploiting the glibc to hack the PHP engine
Iconv, set the charset to RCE: Exploiting the glibc to hack the PHP engine (part 3)
Turns an output-less PHP file-read into remote code execution using a one-byte glibc iconv overflow. Heap grooming through php filters overwrites a stream bucket so its buffer points anywhere, giving a crashless arbitrary read via an error oracle; the exploit then walks ELF tables to reach system and overwrites the engine's heap free handler.
Preserved copies · blog.lexfo.fr · Original publication ↗
Record
- Document
- Iconv, set the charset to RCE: Exploiting the glibc to hack the PHP engine (part 3)
- Published by
- blog.lexfo.fr
- Topic
- Server
In the archive
- Nominated for the 2024 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
- Part 1
Author not stated
External source · no preserved copy
- Proof of concept — github.com
Author not stated
External source · no preserved copy
- DEF CON 32 - Iconv, set the charset to RCE exploiting glibc to hack the PHP engine - Charles Fox
Author not stated
External source · no preserved copy
Tags
This page is the archive's own catalogue record. The research is the work of blog.lexfo.fr, first published at the original source. Preserved copies are kept so the citation survives its host.