GitHub Advisory Database
GHSA-xpmx-h7xq-xffh
Potential access control security issue in apollo-adminservice
Details
Impact
If users expose apollo-adminservice to internet(which is not recommended), there are potential security issues since apollo-adminservice is designed to work in intranet and it doesn't have built-in access control. Malicious hackers may access apollo-adminservice apis directly to access/edit the application's configurations.
Patches
Access control for admin service was added in #3233 and was released in v1.7.1.
Workarounds
To fix the potential issue without upgrading, simply follow the advice that do not expose apollo-adminservice to internet.
Credits
Lexu reported the issue and provided the required information to reproduce it.
References
For more information
If you have any questions or comments about this advisory:
- Open an issue
- Email to one of the active project maintainers
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.ctrip.framework.apollo:apollo-core | All versions before 1.7.1 (fixed in 1.7.1) |