10 ms·
Hardcoded password in Confluence app has been leaked on Twitter
- koolba 4y ago> To figure out if a system is vulnerable, Atlassian advised Confluence users to search for accounts with the following information: User: disabledsystemuser Username: disabledsystemuser Email: dontdeletethisuser@email.com Why does this even exist at all? It doesn't even seem like a default admin user. Is this for automated testing and somehow ended up part of the deployed codebase?
- flatiron 4y agoi dunno how a security audit of a staging environment wouldn't pick this up. what security professional wouldn't go "hmm lets see what users this thing created and their permissions" as one of the top 10 things... i dunno maybe i'm in the wrong field but at least i would check that out.
- resizeitplz 4y agoVery well could have, and then someone said "Yeah but we neeeeeed it"
- btown 4y agoI feel like many security professionals could have thought "this is necessary for some internal system operation so I won't touch it, and it's not like it has a hardcoded password or anything" and yet it has a hardcoded password.
- hsbauauvhabzb 4y agoI’m a security auditor. I dont think many security auditors think like that.
- dylan604 4y agoThat's a really sad statement, and proves to me that security audits are just another scene within the grand play that is security theater
- phpisthebest 4y agoHaving been in a number of audits (it, insurance, financial, etc) over the the years.... all audits are theater
- dylan604 4y agoYeah, but security theater is the only one that makes you take all of your stuff out of your bags and then take off your shoes.
- other_herbert 4y agoAudience participation! ………..
- ineedasername 4y agoYes, in air travel alone it has given us the war on liquid volumes above 3.4oz and the war on shoes. Luckily by 2009 the fervor & public willingness to go along had died down a bit so we all go to keep our underwear after NWA Flight 253.
- hsbauauvhabzb 4y agoI don’t think it’s theatre. It’s difficult to audit applications when you lack context, it could also be seen and assumed benign / intentional. I think that the industry is immature and severely conflicted on the quality:profit ratio.
- dylan604 4y agoLooking at the capabilities of the default users created by the software after fresh install is difficult to wonder if it should be audited to ensure nothing hinky has occurred? Fuck me, if that's truly the case, we're all doomed. If the system modified anything, then those modifications should obviously be checked out to have done exactly and only what they were expected to have done. Installers typically have elevated privileges, and are known vectors for oopsies let alone maliciousness. Hell, Zoom left an elevated binary because it was simply easier for them to do things vs malicious. To have an "audit" not inspect these things is such an obvious error on the auditor's behalf.
- tedunangst 4y agoSecurity audit means someone ran Nessus and checked that the version strings were in the acceptable versions spreadsheet.
- viraptor 4y agoNo, it doesn't. You're trivialising a whole industry of a whole range of skills and professionalism. Security audit means what you agree on between your and the contractor / agency / your internal team. (Specifically, if you don't want the service just for the corporate checkbox, you can find a company which will do what you're after) Similarly if I say I'm a bank and you should give me money, it doesn't mean that the whole concept of banking is a scam.
- beckingz 4y agoIt's correct, AND trivializing a whole industry.
- refulgentis 4y agoDo you have a source on this? This is quite an accusation, doubling down on it must indicate some certitude...
- TexanFeller 4y agoIt’s just absolutely true in my experience. Special agents that gave talks to us in grad school, FBI directors that spoke at security conferences I’ve been to, the people I grew up with that went into security - all morons! The professor I had that was into security and invited some of these people was relatively legit, but literally zero people I’ve met in industry are. One of my heuristics is people that use the word “cybersecurity” don’t know what they’re talking about.
- parkerduckworth 4y agoThis is both hilarious and alarming
- Aeolun 4y agoWhy would you expect a “questions for confluence” plugin to create a user, or have the ability to create a user…
- AdmiralAsshat 4y agoI'd agree, most likely part of the seed data that's needed for install or bootstrapping.
- gjsman-1000 4y agoI have disabled users in my project as well - it works great for an importer when something just doesn't quite import as a resource belonging to something (flukes happen). However, why is it so hard to make sure that a disabled user is actually disabled... I mean, even just setting the password to NULL would result in no possible SHA-256 hash matching (and I use hashing more advanced than SHA-256 alone BTW, just saying for sake of argument here). Instead, some idiot set the password to disabled1system1user6708 hoping that nobody would ever figure it out. Which might have somehow still actually worked because reversing a hash is hard, had they not left it in plain text in the package.
- deleted 4y ago[deleted]
- SturgeonsLaw 4y agoDoes that also mean that whoever owns email.com could reset the password to that account?
- thunfischbrot 4y agohttps://nitter.42l.fr/fluepke/status/1550471087560982531 https://nitter.42l.fr/fluepke/status/1550471087560982531 or anyone who signed up for this previously not existing email account...
- Too 4y agoThe user name is so bad you would almost think it is designed to intentionally mislead. Anyone with the right sense of mind would otherwise call this functional-user-questions-plugin. On the other hand, if someone intentionally wanted to mislead they would have named the user James to mislead even more.
- United857 4y agoNow that the cat's out of the bag, might as well link to the tweet: https://twitter.com/fluepke/status/1549892089181257729 https://twitter.com/fluepke/status/1549892089181257729
- prepend 4y agoAs least the password isn’t “12345.”
- nly 4y agoHey, that's the combination on my luggage!
- teddyh 4y agoFor reference, the tweets are as follows: -- Discovered by a fried of mine: CVE-2022-26138: A remote, unauthenticated attacker with knowledge of the hardcoded password could exploit this to log into Confluence and access all content accessible to users in the confluence-users group The password is disabled1system1user6708 Proof: https://packages.atlassian.com/maven-atlassian-external/com/atlassian/confluence/plugins/confluence-questions/3.0.2/confluence-questions-3.0.2.jar https://packages.atlassian.com/maven-atlassian-external/com/... Also saved to the @internetarchive just to make sure, it stays online: https://web.archive.org/web/20220720225515/https://d34y9yt11qeow3.cloudfront.net/filestore/0d/0de9e967a46863b23fd381d1929c5a6351f1cbfc?response-content-type=application%2Fjava-archive&response-content-disposition=attachment%3B%20filename%3D%22confluence-questions-3.0.2.jar%22%3B%20filename%2A%3DUTF-8%27%27confluence-questions-3.0.2.jar&Expires=1658358314&Signature=ItPkOeFqDm5xROxtxThsVYp~fow08JnHJXQDaCu7~QrIxkbF3VcBmh8mCnJoZkIYi0zJQBCRUC2fR3yHJOFGl8yhUdg5S89HkQwHBRuIPkzflUXFEXgTs6ANCL3Yylj6kj~9BUxLegCKeCy1sdlJEQi9~gJOgoglg91j0dMTRjcXUD7b0xbohNswLjvVjPX~aWbt04293Vx1lQrL~4-cPbkbL7npgXMrgP-vUT-FIJ47RbEwHZOozw9c6HnwUcxaByDCyiEySEbOwYFNcsP6ptoV3fe2iewO00QeURXrNLFF7Nb7GzhP1J~oRwZffwB12uPaVfXEhRorCdO9Qzdu6w__&Key-Pair-Id=APKAIJLYLBQB5QQNWHHQ https://web.archive.org/web/20220720225515/https://d34y9yt11...
- AdamTReineke 4y agoYeah, this was the initial discovery/disclosure tweet, as far as I know. Notice it was posted two days ago, same as the announcement from Atlassian.
- staplung 4y agoWe spend all this time inventing coding practices and even languages to make our software more secure and then we're reminded that even at the limit, shit like this would still be happening. Sigh.
- jhugo 4y agoI doubt anything Atlassian builds is anywhere near that limit.
- zricethezav 4y agoGood reminder to run https://gitleaks.io https://gitleaks.io on your projects
- nodesocket 4y agoWould gitleaks have found this? I assume because it contains ‘system’ ‘user’ it would have.
- leaflets2 4y agoThe password was pretty low entropy, I wonder if that makes it harder for tools like GitLeaks to find? But the email address, yes I guess
- wkdneidbwf 4y agoaudits, soc 2, and all the other bs hoops the industry jumps through… for what? when stuff like this exists it’s pretty clear that large enterprises’ idea of security and risk management is all made up to sound good and lacks teeth.
- doctor_eval 4y agoWell I was forced to add password rotation to an enterprise product by a large enterprise user only a couple of years ago despite password rotation being rejected by research for a decade and no longer recommended even by Microsoft. So, yeah. Like most enterprise stuff it’s all just a bunch of boilerplate.
- Hizonner 4y agoYour opportunity for vengeance on something like that is to have it put up a big warning that says "This setting is dangerous and violates the guidance of the following long list of experts and government bodies: list goes here. Are you SURE you want to take this security risk?". And don't forget to log the insecure configuration every time the system starts up, too.
- DaiPlusPlus 4y agoIf you do that, you'll get dinged in your performance review for being insubordinate.
- doctor_eval 4y agoThis is the germ of a good idea. I don’t do that kind of work any more (building and selling enterprise applications) but I suspect that the way to push back is to have a document they would need to sign that transfers all associated risk to the customer. The people in charge of these companies couldn’t give a shit about research or actual good practice, but dear god they hate taking responsibility for stuff.
- throwawaysleep 4y agoI work for a security company that helps with the audit process. Nobody on my team can tell you the first thing about SOC 2. It is an external selling point, not something actually adopted by the org.
- PragmaticPulp 4y agoNote that this isn't in default Confluence installations. It applies to installations that have installed the Questions for Confluence plugin, which is an official Atlassian plugin. The plugin page shows 8K installs when I checked: https://marketplace.atlassian.com/apps/1211644/questions-for-confluence?hosting=server&tab=overview https://marketplace.atlassian.com/apps/1211644/questions-for... Disappointing to see this coming from an Atlassian official plugin. I wonder if they outsourced this to some contractors and didn't review it closely, or if they developed this in-house.
- gtirloni 4y agoConsidering all the security issues in Confluence and JIRA lately, I think they have extensive expertise in this area. No need to outsource.
- paulmendoza 4y agoThis is the problem with big companies and big software projects. Your security is as weak as your dumbest/least trained dev team. This was probably thought of as a secondary priority project so the B team of C team got assigned to it.
- Nextgrid 4y agoThe password doesn't look randomly-generated, suggesting it was manually generated - someone thought a hardcoded password is OK in this day and age (presumably this is relatively new).
- MattPalmer1086 4y agoThis says that Atlassian are not running good static analysis on their app source code. It also says they have either no good peer review, or their developers have no awareness of basic security. Any decent SAST tool will flag up things like hard coded passwords in most instances. A normal security audit of the app without access to the source code is unlikely to determine that. You would have to reverse engineer the app.
- tester756 4y agoIs it even possible to write safe software in big teams?