Closed
Description
- Gitea version (or commit ref): 1.6.2
- Git version: 1.9.1
- Operating system: Debian 7
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Several API endpoints can be accessed without any authorization at all. I have found following GET requests which responded to me this way:
/orgs/{org}/repos
/orgs/{org}/members
/orgs/{org}
Some other endpoints I have tested require authorization (e.g. /orgs/{org}/hooks
). I think the only gitea API endpoint which should be accessible without any authorization is version
- any listing of repositories, users or organization should require it.