プロジェクト

全般

プロフィール

Vote #76504

完了

The test email action should use POST only (CSRF protection)

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Security_51
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
51
version_id:
98
issue_org_id:
20203
author_id:
2784
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Right now, an attacker can craft cross-site requests to a Redmine instance under the active session of an administrator which would allow it to send a large amount of test emails to this user. This is possible with a simple @img@ tag like this:

<img src="http://redmine.org/admin/test_email" />

The attached patch fixes this vulnerability by changing the enforced HTTP request method from GET to POST. The patch was extracted from "Planio":https://plan.io/redmine-hosting/. It applies cleanly on today's trunk.


journals

--------------------------------------------------------------------------------
Patch committed with an additional change to the functional test, thanks.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリSecurity_51 にセット
  • 対象バージョン2.6.6_98 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0