Documentation for JIRA 5.0. Documentation for other versions of JIRA is available too.
このページではJIRA インストールへのセキュリティ攻撃を防ぐのに役立つ、我々の知る中でもっとも有効な指標を提供しています。
All your JIRA administrators, JIRA system administrators and administrators of all Atlassian products should have strong passwords. Ask your administrators to update their passwords to strong passwords.
Do not use passwords that are dictionary words. Use mixed-case letters, numbers and symbols for your administrator passwords and make sure they are sufficiently long (e.g. 14 characters). We encourage you to refer to the Strong Password Generator for guidelines on selecting passwords.
強固なパスワードを使用すると、攻撃者がブルート フォース攻撃によってパスワードを取得するのに必要な時間を格段に増加させ、同様の攻撃を非現実的なものとします。
As well as choosing a strong password, administrators should have different strong passwords for different systems.
This will reduce the impact the attacker can have if they do manage to obtain administrator credentials on one of your systems.
Apply the patches found in JIRA Security Advisory 2010-04-16 for your version of JIRA.
These patches protect JIRA from recently detected privilege escalation and XSS vulnerabilities.
ログインを何度も繰り返し試行する、ブルート フォース攻撃として知られるログイン攻撃からシステムを積極的に守ることもできます。
JIRA 4.1 contains built-in protection for brute force attacks by displaying a CAPTCHA after a number of failed authentication attempts.
In JIRA 4.1.1 this option is enabled by default. (Please refer to the JIRA 4.1.1 Upgrade Guide for details.) To enable this protection in JIRA 4.1, log in as an administrator and navigate to Administration -> General Configuration and set the "Maximum Authentication Attempts Allowed" to a small number (e.g. 5).
For more details, see Configuring JIRA Options.
アプリケーション ログから繰り返し認証に失敗しているログを見つけることで、web サーバーでブルート フォース ログイン保護を有効にすることができます。繰り返しログインに失敗しているログを見つけたら、その特定の IP アドレスから web サーバーへのアクセスを自動的に禁止するようシステムをセットアップすることができます。
For more information on how to configure an automated approach to this kind of login prevention, refer to Using Fail2Ban to limit login attempts.
アトラシアン アプリケーションの管理インターフェイスは、同アプリケーションの重要な部分を占めています。これに対するアクセスを有する者であれば誰でも、アプリケーション インスタンスのみならずマシン全体を危険にさらしてしまう可能性があります。本当に必要とするユーザだけにアクセスを制限し、強力なパスワードを使用する以外 にも、ネットワークあるいはインターネット上の一部のマシンにアクセスを制限する事を検討する必要があります。
管理/重要操作へのアクセスを制限するため Apache のブロック ルールを実装する方法については以下を参照してください。
同様な手法を使用してすべてのアトラシアン アプリケーションを保護することができます。
アプリケーション サーバー (例:Tomcat) はシステム上で1つのプロセスとして動作します。このプロセスは特定のユーザーによって起動され、そのユーザーのファイルシステム権限を継承します。アプリケーション サーバー ユーザーが書き込み可能なディレクトリを制限することで、アプリケーションにファイルシステムを不必要に晒すことを制限できます。
JIRA のアプリケーション サーバーが 以下のディレクトリのみへの書き込み権限を持つことを確認してください。
logs
temp
work
For detailed instructions, please see Tomcat security best practices.
Jelly is disabled in JIRA by default. If you need to use Jelly, you should enable it immediately prior to use and disable it immediately afterwards. See the JIRA Jelly Tags documentation for details.
'Recommended' (formerly Standalone) distributions of JIRA from version 4.1.2 enforce the HttpOnly flag on session ID cookies by default, as a means to minimise the risk of common XSS attacks. For more information about this feature, please refer to the JIRA Security Advisory 2010-06-18.
If you are running the JIRA WAR distribution on Tomcat (version 5.5.27+ or another application server that is unsupported), it is likely that JIRA's session ID cookies will not be transmitted with the HttpOnly flag. Hence, to mitigate the risk of common XSS attacks, we recommend that you configure your application server to transmit HttpOnly session ID cookies.
To configure your JIRA WAR distribution running on Tomcat to use HttpOnly Session ID Cookies:
context.xml
file of the Tomcat installation running JIRA in a text editor.conf
subdirectory of the main Tomcat installation directory.Add the following Manager
element within the Context
element of this file:
... <Context> ... <Manager useHttpOnly="true"/> ... </Context> ...
To disable HttpOnly Session ID cookies, either remove this
Manager
element or change the value of its useHttpOnly
parameter to false
.
context.xml
file and restart JIRA.If you suspect that your publicly accessible JIRA installation has been compromised by a security attack, please refer to our detection guide for more information on how to identify signs of attack.