Is this possible? The json-api has a security hole?
I had some script kiddies hit one of my servers
When I check the logs I see this:
Code:
GET /json-api/cpanel?cpanel_jsonapi_module=NVData&cpanel_jsonapi_func=set&cpanel_jsonapi_apiversion=2&names=icFAA&icFAA=%7B%22addondomain%22%3A2%2C%22analogstats%22%3A4%2C%22anonymousmsg%22%3A1%2C%22apache%22%3A3%2C%22awstats%22%3A14%2C%22chooselog%22%3A1%2C%22emailmx%22%3A1%2C%22emailroute%22%3A1%2C%22errorlogs%22%3A1%2C%22filemanager%22%3A63%2C%22ftpaccounts%22%3A3%2C%22ftpcontrol%22%3A3%2C%22hd%22%3A1%2C%22hdspace%22%3A3%2C%22image-manager%22%3A1%2C%22index%22%3A4%2C%22keys%22%3A2%2C%22latestvisitors%22%3A4%2C%22legacy_filemanager%22%3A2%2C%22manageaccounts%22%3A1%2C%22mysql%22%3A8%2C%22mysql-remoteaccess%22%3A2%2C%22nettools%22%3A4%2C%22networkmonitor%22%3A1%2C%22null%22%3A1%2C%22parkeddomains%22%3A5%2C%22password%22%3A1%2C%22password-protect%22%3A1%2C%22phpMyAdmin%22%3A9%2C%22rawaccesslogs%22%3A1%2C%22redirects%22%3A16%2C%22scripts-library%22%3A1%2C%22simplezoneedit%22%3A3%2C%22subdomains%22%3A4%2C%22submit-support%22%3A2%2C%22updatecontact%22%3A7%2C%22userfiltering%22%3A1%2C%22webalizerlog%22%3A1%2C%22webdav%22%3A4%2C%22webemail%22%3A1%2C%22php%22%3A2%2C%22lookandfeel%22%3A1%2C%22leechprotect%22%3A1%2C%22hotlinkprotect%22%3A1%2C%22ipdeny%22%3A1%2C%22getstart%22%3A1%7D&__nvdata%3A%3Anocache=1 HTTP/1.1" 403 0 "http://musicorb.com:2082/frontend/x3/index.html?post_login=18002099552856" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
Seems they are trying to blow past the security with that call.
Am I wrong? Anynoe have an idea?
And if json-api is a security risk can we block all from outside IP's from accessing it!
I think that would have been a good idea to do as this kiddie used json-api to access multiple sites and tagged them.
Suggest you check your cpanel logs at --> /usr/local/cpanel/logs/access_log