CVE-2020-15170: Apollo core Potential Access Control Security Issue Vulnerability
HIGHCVE-2020-15170 is a HIGH (CVSS 7.0) potential access control security issue vulnerability (CWE-20: Improper Input Validation) affecting Apollo core libraries in the Maven ecosystem. The issue involves potential access control security issue in apollo-adminservice. Remediation is available by upgrading affected packages to version 1.7.1.
CVE-2020-15170 at a Glance
Security Impact
CVSS: 7.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L).
How to Fix CVE-2020-15170
To remediate this vulnerability, upgrade all affected Apollo core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-core</artifactId>
<version>1.7.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.ctrip.framework.apollo
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2020-15170, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.ctrip.framework.apollo
Analyze the terminal output to locate any version of Apollo core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.ctrip.framework.apollo command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Apollo core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-15170 Affected Apollo core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.ctrip.framework.apollo:apollo-core
|
Maven |
< 1.7.1
|
1.7.1
|
References
Frequently Asked Questions
What is CVE-2020-15170?
Which Apollo core versions are affected?
What version fixes CVE-2020-15170?
Is apollo-core affected?
What is the CVSS score of CVE-2020-15170?
What CWE is associated with CVE-2020-15170?
How can I check Maven dependencies for CVE-2020-15170?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xpmx-h7xq-xffh",
"modified" : "2021-11-19T15:30:46Z",
"published" : "2020-10-02T16:33:41Z",
"aliases" : [ "CVE-2020-15170" ],
"summary" : "Potential access control security issue in apollo-adminservice",
"details" : "### Impact\nIf 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.\n\n### Patches\nAccess control for admin service was added in #3233 and was released in [v1.7.1](https://github.com/ctripcorp/apollo/releases/tag/v1.7.1).\n\n### Workarounds\nTo fix the potential issue without upgrading, simply follow the advice that do not expose apollo-adminservice to internet.\n\n### Credits\n[Lexu](https://github.com/lllllx) reported the issue and provided the required information to reproduce it.\n\n### References\n[Apollo Security Guidence](https://github.com/ctripcorp/apollo/wiki/Apollo%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97#71-%E5%AE%89%E5%85%A8%E7%9B%B8%E5%85%B3)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an [issue](https://github.com/ctripcorp/apollo/issues)\n* Email to one of the active [project maintainers](https://github.com/ctripcorp/apollo/graphs/contributors)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.ctrip.framework.apollo:apollo-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ctripcorp/apollo/security/advisories/GHSA-xpmx-h7xq-xffh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15170"
}, {
"type" : "WEB",
"url" : "https://github.com/ctripcorp/apollo/pull/3233/commits/ae9ba6cfd32ed80469f162e5e3583e2477862ddf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ctripcorp/apollo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-10-02T16:32:24Z",
"nvd_published_at" : "2020-09-10T19:15:00Z"
}
}