1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 04:09:38 +00:00
Toshi MARUYAMA ca87bf766c mercurial: reject malicious command argument (#27516)
We've got a security report from the Phabricator team, which basically says
--config and --debugger arguments can be injected anywhere to lead to an
arbitrary command execution.

https://secure.phabricator.com/rPa7921a4448093d00defa8bd18f35b8c8f8bf3314

This is a fundamental issue of the argument parsing rules in Mercurial, which
allows extensions to populate their parsing rules and such extensions can be
loaded by "--config extensions.<name>=". There's a chicken and egg problem.
We're working on hardening the parsing rules, but which won't come in by
default as it would be a behavior change.

This patch adds a verification to reject malicious command arguments as a
last ditch. The subsequent patches will fix the problem in more appropriate
way.

Contributed by Yuya Nishihara.

git-svn-id: http://svn.redmine.org/redmine/trunk@17060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-07 11:38:23 +00:00
2017-07-23 12:51:36 +00:00
2017-10-15 19:50:46 +00:00
2012-04-25 17:17:49 +00:00
2012-10-23 10:50:09 +00:00
2017-01-15 16:31:30 +00:00
2017-01-15 16:31:30 +00:00
2012-04-25 17:17:49 +00:00
2012-04-25 17:17:49 +00:00
2011-11-19 16:10:28 +00:00

= Redmine

Redmine is a flexible project management web application written using Ruby on Rails framework.

More details can be found in the doc directory or on the official website http://www.redmine.org
Description
No description provided
Readme 93 MiB
Languages
Ruby 78.7%
HTML 15.1%
JavaScript 3.7%
CSS 2.1%
Perl 0.3%
Other 0.1%