Official nomination
Python Dirty Arbitrary File Write to RCE via Writing Shared Object Files Or Overwriting Bytecode Files
Two ways to turn a restricted arbitrary file write into code execution in Python web applications. Overwriting a cached bytecode file works when the magic number, source timestamp and size are preserved or brute-forced; simpler still, writing a shared object beside a module wins because extension loaders precede source and bytecode loaders.
Preserved copies · siunam · Original publication ↗
Record
- Researcher
- siunam
- Published by
- siunam's Website
- Date
- Topic
- Server
In the archive
- Nominated for the 2025 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
- Earlier bytecode-overwrite challenge
Author not stated
External source · no preserved copy
- NuttyShell challenge source
Author not stated
External source · no preserved copy
- [web/NuttyShell File Manager] PolyU x NuttyShell Cybersecurity CTF 2025 Writeup
tournip · Qiita
Preserved copies of this source
Tags
This page is the archive's own catalogue record. The research is the work of siunam, first published at the original source. Preserved copies are kept so the citation survives its host.