Arbitrary Command Execution in Redmine via Mercurial Adapter

Arbitrary Command Execution in Redmine via Mercurial Adapter

CVE-2017-18026 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:P/A:P

Redmine before 3.2.9, 3.3.x before 3.3.6, and 3.4.x before 3.4.4 does not block the --config and --debugger flags to the Mercurial hg program, which allows remote attackers to execute arbitrary commands (through the Mercurial adapter) via vectors involving a branch whose name begins with a --config= or --debugger= substring, a related issue to CVE-2017-17536.

Learn more about our Web Application Penetration Testing UK.