ShowDoc shell command execution in Mock templates
ShowDoc
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ShowDoc ShowDoc |
| No fix yet |
Original description
ShowDoc 2.8.14 before 3.9.6 contains a code injection vulnerability in its Mock feature that allows authenticated users to execute shell commands through mockjs templates. Attackers can store a template via MockController::add with escaped parentheses that mockjs evaluates with eval(), then trigger it through MockController::infoByKey to run commands, as root in the official Docker image.
From the CVE record · VulnCheck