GHSA-368x-wmmg-hq5c
Apollo has potential access control security issue in eureka
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | com.ctrip.framework.apollo:apollo | < 2.1.0 | 2.1.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
If users expose the apollo-configservice to the internet(which is not recommended), there are potential security issues since there is no authentication feature enabled for the built-in eureka service. Malicious hackers may access eureka directly to mock apollo-configservice and apollo-adminservice .
### Patches
Login authentication for eureka was added in https://github.com/apolloconfig/apollo/pull/4663 and was released in [v2.1.0](https://github.com/apolloconfig/apollo/releases/tag/v2.1.0).
### Workarounds
To fix the potential issue without upgrading, simply follow the advice that does not expose apollo-configservice to the internet.
### References
[Apollo Security Guidence](https://www.apolloconfig.com/#/en/portal/apollo-user-guide?id=_71-security-related)
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [issue](https://github.com/apolloconfig/apollo/issues)
* Email us at [[email protected]](mailto:[email protected])
References
External links from the advisory. They lead to third-party sites.
- https://github.com/apolloconfig/apollo/security/advisories/GHSA-368x-wmmg-hq5c
- https://nvd.nist.gov/vuln/detail/CVE-2023-25570
- https://github.com/apolloconfig/apollo/pull/4663
- https://github.com/apolloconfig/apollo/commit/7df79bf8df6960433ed4ff782a54e3dfc74632bd
- https://github.com/apolloconfig/apollo
- https://github.com/apolloconfig/apollo/releases/tag/v2.1.0