Skip to content

Potential access control security issue in apollo-adminservice

High severity GitHub Reviewed Published Sep 10, 2020 in apolloconfig/apollo • Updated Feb 1, 2023

Package

maven com.ctrip.framework.apollo:apollo-core (Maven)

Affected versions

< 1.7.1

Patched versions

1.7.1

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

Apollo Security Guidence

For more information

If you have any questions or comments about this advisory:

References

@nobodyiam nobodyiam published to apolloconfig/apollo Sep 10, 2020
Published by the National Vulnerability Database Sep 10, 2020
Reviewed Oct 2, 2020
Published to the GitHub Advisory Database Oct 2, 2020
Last updated Feb 1, 2023

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L

EPSS score

0.096%
(42nd percentile)

Weaknesses

CVE ID

CVE-2020-15170

GHSA ID

GHSA-xpmx-h7xq-xffh

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.