Closed Bug 1267540 Opened 10 years ago Closed 10 years ago

Categories

(Websites :: Other, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: griffin.francis.1993, Assigned: amuntner)

Details

(Keywords: reporter-external, sec-low, wsec-appmisconfig)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.87 Safari/537.36 Steps to reproduce: I was able to authenticate via the username & password as fossy here - http://fossology-dev.allizom.org/?mod=auth Actual results: I was able to perform administrator actions on the web-application. It appears I can also upload a remote web-shell due to the permissions on the account. Expected results: Administrator default credentials should be changed.
Keywords: sec-high
Thanks Griffin. Confirmed. I can't find anything about this website on mana http://fossology.allizom.org is a site and uses ldap auth Because of the issue this host needs to come down and be replaced.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: sec-bounty?
You're most welcome as always. :) Your Information security program is the best.
Hello. Just to confirm I have found another instance situated here: http://ec2-54-241-24-14.us-west-1.compute.amazonaws.com/
(In reply to Griffin from comment #3) > Hello. Just to confirm I have found another instance situated here: > http://ec2-54-241-24-14.us-west-1.compute.amazonaws.com/ Just checked the A record and this appears to be the same instance. I can confirm I am now able to access both hosts without the ldap auth.
Also. This instance. - http://fossology-dev.allizom.org/. Can confirm http://fossology.allizom.org/ is prompting for ldap auth. Cheers
Keywords: sec-high → sec-critical
Griffin: please do not change the severity of the bug in the keywords, this is for internal tracking purposes.
Keywords: sec-critical → sec-high
Gerv, based on https://wiki.mozilla.org/Fossology it looks like this is your site. Are you still the owner, can you tell us about its status and take down the affected host, please?
Assignee: nobody → gerv
Flags: needinfo?(gerv)
Gerv: when you take down the host, please don't delete the image. Kang: pinging you to bug to let you decide whether any incident response procedures to look for evidence of compromise previous to this report are necessary after rolling up the host,
Flags: needinfo?(gdestuynder)
Hi Adam. Just thought I would add that I attempted to upload a remote webshell on the host today when I discovered the vulnerable instance. However I was facing some issues with permissions and didn't wish to play around with it so I deleted it. Encase you proceed with an incident response. Cheers.
These sites were used briefly ages ago; they are no longer in use, as I wrote my own tool instead. I had entirely forgotten about their existence. See bug 945343 and bug 1053339 from nearly 2 years ago. My understanding was that it was behind LDAP auth so that we didn't need to do a security review on them. How did the dev site fall out from behind LDAP auth? I appear to still have the ability to log into fossology-dev using SSH, but not fossology. (I think I was given shell access to the dev site but not prod.) Both of these sites can be nuked from orbit. (It's the only way to be sure.) Gerv
I guess I have the ability to type "shutdown -h now" on fossology-dev, but not on fossology. And I don't have the power to delete either image even if I wanted to. Gerv
Flags: needinfo?(gerv)
@comment 8 I've no access to the system for a quick investigation, but depending on the following we might need to investigate: Gerv, is there any data on that webapp (and anything running on the same system or connected to it, such as RDS, S3 buckets, etc.) that you would consider sensitive (i.e. impacting Mozilla if leaked or modified)? Also, do you know who owns this/has the power to turn it off, etc?
Flags: needinfo?(gdestuynder)
(In reply to Guillaume Destuynder [:kang] from comment #12) > Gerv, is there any data on that webapp (and anything running on the same > system or connected to it, such as RDS, S3 buckets, etc.) that you would > consider sensitive (i.e. impacting Mozilla if leaked or modified)? No. > Also, do you know who owns this/has the power to turn it off, etc? I only know what's written in the two bugs I mentioned. Gerv
Flags: needinfo?(gerv)
Thank you for reporting this bug. Although this site is not on our list of sites eligible for the bounty we would like to award you a token of appreciation for bringing this defunct site to our attention so we can shut it down. As Gerv noted this site was never supposed to be exposed before it was fully evaluated. The risk was low as we never put user data on this site, and as the -dev version is hosted in an isolated AWS instance it couldn't be used as a launching point to attack other machines in our network.
Flags: sec-bounty? → sec-bounty+
Keywords: sec-high → sec-low
Hello Daniel. You're most welcome, thanks for awarding this.
Just to confirm. The host still is using the same default creds. Perhaps change them to something else to avoid duplicate reports?
This definitely shouldn't be assigned to me... Gerv
Assignee: gerv → amuntner
I changed the password for user: fossy to: 5hgFggfRdk80
Thanks Adam! Much appreciated.
As a temporary measure, I've altered the external DNS records for 'fossology' and 'fossology-dev' .allizom.org to make them difficult to discover until we can do a full decom of these AWS-hosted components. I was able to identify some background for this component and will provided it out-of-bug to the security team.
@adamm it looks like this is something we could just shut down. (see comments above, specially https://bugzilla.mozilla.org/show_bug.cgi?id=1267540#c13 and https://wiki.mozilla.org/Fossology) Can you check and make a decision?
Flags: needinfo?(amuntner)
No need to check. See comment #10. Gerv
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(amuntner)
Resolution: --- → FIXED
Group: websites-security
You need to log in before you can comment on or make changes to this bug.