Description
The PageListSort function in scripts/pagelist.php in PmWiki 2.x before 2.2.35 allows remote attackers to execute arbitrary code via PHP sequences in a crafted order parameter in a pagelist directive, leading to unintended use of the PHP create_function function.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
PmWiki pagelist.php Remote PHP Code Injection Exploit
exploit/multi/http/pmwiki_pagelist
Exploit-DB 2
- PmWiki 2.2.34 - 'pagelist' Remote PHP Code Injection (2) (Metasploit) EDB-18243 · webapps · Dec 14, 2011 · verified
- PmWiki 2.2.34 - 'pagelist' Remote PHP Code Injection (1) EDB-18149 · webapps · Nov 23, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 18243 exploit
- 18149 exploit
- http://www.pmwiki.org/wiki/PITS/01271