Over a million developers have joined DZone.

Security Update for IntelliJ-Based IDEs v2016.1 and Older Versions

This update addresses critical security vulnerabilities inside the underlying IntelliJ Platform.

· Java Zone

Discover how powerful static code analysis and ergonomic design make development not only productive but also an enjoyable experience, brought to you in partnership with JetBrains

We have just released an important update for all IntelliJ-based IDEs. This update addresses critical security vulnerabilities inside the underlying IntelliJ Platform. The vulnerabilities, in various forms, are also present in older versions of the IDEs; therefore, patches for those are also available.

While we have had no reports of any active attacks against these vulnerabilities, we strongly recommend for all users to install the update as soon as possible.

Please read more on the issues and ways to update below.

Built-in Web Server Vulnerabilities

The cross-site request forgery (CSRF) flaw in the IDE’s built-in webserver allowed an attacker to access local file system from a malicious web page without user consent.

Internal RPC Vulnerabilities

Over-permissive CORS settings allowed attackers to use a malicious website in order to access various internal API endpoints, gain access to data saved by the IDE, and gather various meta-information like IDE version or open a project.

Our huge thanks go to Jordan Milne for disclosing these issues and working closely with us and to Android Studio team from Google for perfect collaboration while working on the fixes.

To install the update simply select ‘Check for Updates’ from inside the IDE or visit www.jetbrains.com to download the most recent version. Alternatively, read below for download links to older product versions.

For more details about the security update and in case of additional questions, refer to the FAQ below.

Q: What products / versions are updated?

A: All JetBrains products built on IntelliJ Platform are affected. The table below shows the minimum versions for which an update is released. If you are using the listed version or a higher one, then you need to update.

ProductUpdates Available as of Version (build number)
AppCode2.1 (129.772)
CLion1.0 (141.353)
DataGrip1.0 (143.1410.7)
IntelliJ IDEA12.1 (129.161)
MPS3.0 (129.350)
PhpStorm6.0 (129.291)
PyCharm2.7 (125.57)
PyCharm Edu1.0 (139.280)
RiderPrivate EAP builds prior to build 144.5342
RubyMine5.4 (129.241)
WebStorm6.0 (127.68)

Q: Are earlier versions affected?

A: We are not aware of similar vulnerabilities in older versions. Built-in web server was introduced in December 2012 (branch 129.x), and the above-mentioned and fixed internal RPC vulnerabilities did not exist in older versions. Still, a possibility of vulnerabilities in older versions exists, which is why we recommend upgrading your IDE if it was released more than 3 years ago.

Q: What products are NOT affected?

A: ReSharper, ReSharper C++, dotCover, dotMemory, dotTrace, dotPeek, TeamCity, YouTrack, Upsource and Hub are not affected and do not need this security update.

Q: I need a full download rather than a patch for an earlier version of the IDE. Where can I download it?

A: Check the previous versions page for your product below. All updates published after May 10th contain the security update.

Q: I’m unable to update to the latest version. Where can I get help?

A: Please contact us about the problems that prevent you from updating.

Q: I’m building an IDE on IntelliJ Platform. What should I do?

A: Please check out the latest source code from the branch you are currently using and rebuild your product. For more details please contact security@jetbrains.com or the partner team at busdev@jetbrains.com for any questions or concerns.

Q: I’m using an IDE built on IntelliJ Platform but not from JetBrains. What should I do?

A: We have been in contact with our partners building on IntelliJ Platform. Updates for Android Studio 1.5.x and 2.x should be available already. Please contact the vendor of the IDE for an update. If you have other questions, please contact us.

Q: I’m developing a plugin for IDEs built on IntelliJ Platform. Does my plugin need update?

A: No, plugins are not affected.

Q: I’d like to be notified about security vulnerabilities in future.

A: You can subscribe to the security bulletin at www.jetbrains.com/security/subscribe.

Learn more about Kotlin, a new programming language designed to solve problems that software developers face every day brought to you in partnership with JetBrains.


Published at DZone with permission of Eugene Toporov. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}