DokuWiki Runcommand Plugin Command Injection Vulnerability

Vulnerability

A command injection vulnerability has been identified in the Runcommand plugin for DokuWiki, specifically in versions prior to 2025. This vulnerability allows unauthenticated attackers to execute arbitrary system commands. The issue arises in the file 'lib/plugins/runcommand/postaction.php'.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the server where DokuWiki is hosted.

Reproduction

To reproduce this vulnerability, send a POST request to 'lib/plugins/runcommand/postaction.php' with the 'rcObjectId', 'outputType1', and 'command1' parameters. The 'command1' parameter can be used to specify the command to be executed on the server. For example, sending 'id' as the command will return the user ID and group information of the web server user.

Added: Jan 30, 2026, 7:21 PM
Updated: Jan 30, 2026, 7:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
8.7
remediation
0.0
relevance
2.5
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.