Path traversal
Critical Foswiki Vulnerablities: A Logic Error Turned Remote Code Execution
A path traversal flaw in the TopicInteractionPlugin's move function allowed an authenticated user to move the AdminGroup page file and replace it with a crafted page that granted them admin rights. As an admin, they could then set a mail program to an arbitrary command, leading to remote code execution.
Foswiki