-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unblock queries from api.geneontology.org to golr-aux.geneontology.io #11
Comments
The GO Ribbons are all down on the alliancegenome.org site, so this is extremely high priority for us. Any ETA on when it will be fixed would be very appreciated. Thanks so much! |
Apologies for the interruption in service, will be up again shortly |
Thank you!! ;) |
We're now warming up the fallback server to take over while we try and figure out what is going on. |
Noting: golr-aux.geneontology.io should now be switched over to a "backup" server in AWS (54.156.227.50). We are still trying to figure out the underlying cause of getting cut off from the main server as no changes have been made to the system in some time. |
Thank you, Seth. The GO Ribbons on alliancegenome.org pages I looked at are working now. |
It's all very odd from this end. I've contacted the LBL IT/security to see if they might have done something--there seems to be no other expression of this issue except for the one IP address. |
I can easily change the IP of the GO API since it's an EIP and you could change the DNS record. However chances are the same issue would occur, so best to fix at the source. If not GOlr-aux firewall policies, then agreed it must be at LBL IT. As a note, I believe the GO API is getting more traction so more usage, maybe that's what triggered some kind of rules, or LBL just added a new one without us knowing. |
Additional note: #7 would help mitigate those issues, but maybe a won't do as I believe the GO API may be due for a refactoring. |
@lpalbou I've heard back from LBL security with a little more information:
I think it would be useful to understand where the (As a side note, the volume stated volume ends up around 1.5k-2.k hits per hours from the API. Is this due to the Alliance site getting crawled maybe? Or perhaps the popularity that mentioned!) |
Yeah, the more I think about this, the more it seems like there is some SQL injection attempt that successfully got passed through the API (https://security.stackexchange.com/questions/8761/sql-injection-with-and-1-1). While not directly dangerous for the moment, it might mean that inputs may not be getting sanitized? Or, as it's just a passthrough for Solr, maybe it's fine ignoring for now. |
Looking at the logs on the fallback machine, I've got two more hits with
If nothing else, that would seem to decide that it was not a one-off, but somebody doing a little probing. |
Couple of notes:
|
Spinning sanitizing into own issue (#12). |
@kltm it seems golr-aux server started blocking requests from api.geneontology.org (3.209.185.147). I have double check by launching another instance of the GO API on another server with another IP and it works fine. This is affecting all API users and Ribbons - including the Alliance.
For testing purposes, I am letting the other server online (it's a spot instance to lower the cost, so it can be terminated by AWS); here is a query example: http://3.236.124.247/api/bioentity/function/GO%3A0044598?start=0&rows=100
The same won't run on http://api.geneontology.org/api/bioentity/function/GO%3A0044598?start=0&rows=100
The text was updated successfully, but these errors were encountered: