{"action":"closed","issue":{"url":"https://api.github.com/repos/openwrt/luci/issues/2031","repository_url":"https://api.github.com/repos/openwrt/luci","labels_url":"https://api.github.com/repos/openwrt/luci/issues/2031/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/luci/issues/2031/comments","events_url":"https://api.github.com/repos/openwrt/luci/issues/2031/events","html_url":"https://github.com/openwrt/luci/issues/2031","id":346906766,"node_id":"MDU6SXNzdWUzNDY5MDY3NjY=","number":2031,"title":"Luci RPC APIs responding with auth","user":{"login":"fbradyirl","id":254309,"node_id":"MDQ6VXNlcjI1NDMwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/254309?v=4","gravatar_id":"","url":"https://api.github.com/users/fbradyirl","html_url":"https://github.com/fbradyirl","followers_url":"https://api.github.com/users/fbradyirl/followers","following_url":"https://api.github.com/users/fbradyirl/following{/other_user}","gists_url":"https://api.github.com/users/fbradyirl/gists{/gist_id}","starred_url":"https://api.github.com/users/fbradyirl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbradyirl/subscriptions","organizations_url":"https://api.github.com/users/fbradyirl/orgs","repos_url":"https://api.github.com/users/fbradyirl/repos","events_url":"https://api.github.com/users/fbradyirl/events{/privacy}","received_events_url":"https://api.github.com/users/fbradyirl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-02T08:16:39Z","updated_at":"2018-08-02T08:31:59Z","closed_at":"2018-08-02T08:31:58Z","author_association":"NONE","body":"Running [18.06 latest](\r\nhttps://downloads.openwrt.org/releases/18.06.0/targets/kirkwood/generic/openwrt-18.06.0-kirkwood-linksys_viper-squashfs-sysupgrade.bin) and all of the RPC APIs are responding even when I provide an incorrect auth token. Seems like a security bug?\r\n\r\nE.g. calling `POST:` `http://10.10.10.1/cgi-bin/luci/rpc/ip` with body\r\n\r\n```json\r\n{\r\n  \"auth\": \"blah\",\r\n  \"method\": \"neighbors\",\r\n  \"params\": [{\"family\": 4}]\r\n}\r\n```\r\ngives me all the info back.\r\n\r\n![screen shot 2018-08-02 at 09 11 17](https://user-images.githubusercontent.com/254309/43571242-629e2b88-9634-11e8-9ca9-c5e067a78b11.png)\r\n"}}
{"actor":{"display_login":"fbradyirl"}}