Closed
Bug 1267540
Opened 10 years ago
Closed 10 years ago
Domain takeover on http://fossology-dev.allizom.org/
Categories
(Websites :: Other, defect)
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.
| Assignee | ||
Comment 1•10 years ago
|
||
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.
Keywords: wsec-appmisconfig
| Assignee | ||
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Updated•10 years ago
|
Flags: sec-bounty?
| Reporter | ||
Comment 2•10 years ago
|
||
You're most welcome as always. :) Your Information security program is the best.
| Reporter | ||
Comment 3•10 years ago
|
||
Hello. Just to confirm I have found another instance situated here: http://ec2-54-241-24-14.us-west-1.compute.amazonaws.com/
| Reporter | ||
Comment 4•10 years ago
|
||
(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.
| Reporter | ||
Comment 5•10 years ago
|
||
Also. This instance. - http://fossology-dev.allizom.org/. Can confirm http://fossology.allizom.org/ is prompting for ldap auth. Cheers
| Reporter | ||
Updated•10 years ago
|
Keywords: sec-high → sec-critical
Comment 6•10 years ago
|
||
Griffin: please do not change the severity of the bug in the keywords, this is for internal tracking purposes.
Keywords: sec-critical → sec-high
| Assignee | ||
Comment 7•10 years ago
|
||
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)
| Assignee | ||
Comment 8•10 years ago
|
||
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)
| Reporter | ||
Comment 9•10 years ago
|
||
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.
Comment 10•10 years ago
|
||
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
Comment 11•10 years ago
|
||
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)
Flags: needinfo?(gerv)
Comment 13•10 years ago
|
||
(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)
Comment 14•10 years ago
|
||
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.
| Reporter | ||
Comment 15•10 years ago
|
||
Hello Daniel. You're most welcome, thanks for awarding this.
| Reporter | ||
Comment 16•10 years ago
|
||
Just to confirm. The host still is using the same default creds. Perhaps change them to something else to avoid duplicate reports?
Comment 17•10 years ago
|
||
This definitely shouldn't be assigned to me...
Gerv
Assignee: gerv → amuntner
| Assignee | ||
Comment 18•10 years ago
|
||
I changed the password for user: fossy to: 5hgFggfRdk80
| Reporter | ||
Comment 19•10 years ago
|
||
Thanks Adam! Much appreciated.
Comment 20•10 years ago
|
||
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)
Comment 22•10 years ago
|
||
No need to check. See comment #10.
Gerv
| Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(amuntner)
Resolution: --- → FIXED
Updated•10 years ago
|
Group: websites-security
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•