CVE-2020-15170
Potential access control security issue in apollo-adminservice
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.ctrip.framework.apollo » apollo-core | < 1.7.1 | 1.7.1 |
Blast radius
81% of the dependent artifacts (236) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 97 |
| 2 hops | 1,340 |
| 3 hops | 3,574 |
| 4 hops | 8,804 |
| 5 hops | 2,908 |
| 6 hops | 1,291 |
Most used dependents
- redis.clients » jedis2,974 usages
- com.ctrip.framework.apollo » apollo-client227 usages
- io.seata » seata-all51 usages
- com.youzan.skynet » skynet-client20 usages
- com.alibaba.csp » sentinel-datasource-apollo19 usages
- com.ctrip.framework.apollo » apollo-openapi18 usages
- com.youzan.skynet » monitoring-client16 usages
- com.fizzgate » fizz-spring-boot-starter14 usages
- com.youzan.boot » youzan-boot-starter13 usages
- org.dromara » hmily-core12 usages
- com.youzan.cloud » cloud-connector-component-sdk11 usages
- com.youzan.cloud.boot » cloud-boot-starter-mq11 usages
- com.youzan » lumberjack-logappender11 usages
- org.dromara » hmily-spring-boot-starter-parent11 usages
- com.ctrip.framework.apollo » apollo-mockserver10 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2020-15170 | nvd.nist.gov |
| Package | ctripcorp/apollo | github.com |
| Web | ctripcorp/apollo advisory GHSA-xpmx-h7xq-xffh | github.com |
| Web | ctripcorp/apollo pull request #3233 | github.com |
