Settings

Theme

IntelliJ GitHub Plugin leaking credentials

blog.jetbrains.com

152 points by jonahss 2 years ago · 25 comments

Reader

Merad 2 years ago

It seems like GitHub is rejecting requests from affected IDE versions. We discovered this yesterday because PR integration was not working even though the GitHub login/token was correct. Issue resolved by upgrading the IDE to the latest version.

albert_e 2 years ago

Off topic -- how does the JetBrains website display "IntelliJ" text in stylized "iJ" at the end of IntelliJ? Some CSS magic?

I tried editing the text using the developer tools and this styling only applies when the text is IntelliJ or any word that starts with this exact string (case sensitive)

  • yen223 2 years ago

    That effect comes from their font - "Jetbrain Sans"

  • raincole 2 years ago

    Have you seen whose weird "fonts for programmers" that make != look like a single character? Same thing.

    (Btw I hate that)

  • muningis 2 years ago

    That’s font ligature. Basically when two glyphs/symbols are one after another, they have a different glyph to show both of them.

orf 2 years ago

What is the actual vulnerability? The post is super light on details.

  • lostmsu 2 years ago

    Sounds like they added token to all requests done by the plugin, so when you opened a pull request and linked an image from 3rd party, the 3rd party would receive your token.

stuff4ben 2 years ago

Good idea to rotate your tokens on a regular basis, but in this case, go ahead and do it now (if you use this tool and plugin)

  • thund 2 years ago

    better even, don’t use never-expiring tokens/credentials that need rotation.

    • WorldMaker 2 years ago

      Expiration is still a form of rotation. Also, GitHub doesn't provide never-expiring tokens, all of their tokens have expiration policies and need regular rotation. That doesn't mean that there aren't good reasons (such as in this case vulnerable applications) to manually rotate even before the expiration date.

mattjaynes 2 years ago

I have a client who was using JetBrains' TeamCity CI product. Was a clown show of vulnerabilities that allowed attackers access to internals.

Do not use their products. If you must for some reason, be sure you subscribe to critical CVEs of the products you are using and update them immediately and rotate your credentials. Ideally re-install on a fresh server. Never have the service available via the public web, it will be hacked - only use their products behind a VPN.

https://blog.jetbrains.com/teamcity/2024/02/critical-securit... https://blog.jetbrains.com/teamcity/2024/03/additional-criti...

  • rf15 2 years ago

    Their plugins are a (very) mixed bag, but saying to not use their products is a bit too alarmist if you ask me - the baseline IDE is doing fairly well, and teamcity and doing your GitHub-specific PR-stuff from within intelliJ is kind of niche overall I would assume (I've never used either, only the stock git client they have)

    • mattjaynes 2 years ago

      That's fair. I have limited experience with the rest of their offerings. They only came onto my radar because of regular critical CVEs that needed urgent fixing. The communication from the company had no hint of apology - just "hey, better fix this before your server is p0wned" - which did not seem like they were to be taken seriously.

  • lyu07282 2 years ago

    I kind of have to agree but their software products are huge, it's difficult to say if they are particularly bad. Don't expose their products on the open web is good advice but it applies to many products not just theirs (like gitlab/gitea).

    https://stack.watch/product/jetbrains/

  • manquer 2 years ago

    Android Studio is built on IntelliJ platform, this is not a choice a developer always can make

    —-

    P.S. yes it is possible to develop Android apps without studio, but it is painful to setup and manage , developers should not be fighting the system to do their jobs

that_guy_iain 2 years ago

This is the second time today I’ve seen this but it is dated the 10th how come it’s taken everyone so long to notice?

  • refulgentis 2 years ago

    I don't understand what you mean: a blog post was published on the 10th, you saw a link to it twice today, so "everyone" took "so long to notice"?

    I'm teasing, it's just a surprisingly increasing fallacy I see: "Why is the rate at which I saw things not the rate I expect? What did They mean by this?"

    • bdhcuidbebe 2 years ago

      > I'm teasing, it's just a surprisingly increasing fallacy I see: "Why is the rate at which I saw things not the rate I expect? What did They mean by this?"

      Indeed, I have been noticing this form of fallacity lately too. it pops up everywhere. It seems to be related to the recent trend of boldly stating opinions about anything, without having any domain knowledge, which seem to have been popularized by a certain orange.

    • that_guy_iain 2 years ago

      Well considering the amount I’m on here, Reddit, and various tech slacks seeing something like this repeatedly normally means it’s just been posted. I’m kinda wondering if they didn’t do the usual promotion.

  • manquer 2 years ago

    It didnt ? I have got three different advisories from infosec this week, even customers have asked about it

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection