CVE-2023-25569: Apollo Apollo-portal Has Potential CSRF Issue Vulnerability

MODERATE
Advisory Identifier: GHSA-fmxq-v8mg-qh25
CVSS 5.7
CWE-352
Published
Advisory Summary

CVE-2023-25569 is a MODERATE (CVSS 5.7) apollo-portal has potential csrf issue vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Apollo libraries in the Maven ecosystem. The issue involves apollo-portal has potential csrf issue. Remediation is available by upgrading affected packages to version 2.1.0.

CVE-2023-25569 at a Glance

CVE Identifier CVE-2023-25569
GHSA Identifier GHSA-fmxq-v8mg-qh25
Severity MODERATE
CVSS v3.1 Base Score 5.7
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Apollo
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-25569

To remediate this vulnerability, upgrade all affected Apollo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.ctrip.framework.apollo:apollo fixed: 2.1.0
<dependency>
    <groupId>com.ctrip.framework.apollo</groupId>
    <artifactId>apollo</artifactId>
    <version>2.1.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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-2023-25569, 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 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.0), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Apollo, 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

### Impact A low-privileged user can create a special web page. If an authenticated portal admin visits this page, the page can silently send a request to assign new roles for that user without any confirmation from the Portal admin. ### Patches Cookie SameSite strategy was set to Lax in #4664 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 visit unknown source pages. ### References [Apollo Security Guidence](https://www.apolloconfig.com/#/en/usage/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 [apollo-config@googlegroups.com](mailto:apollo-config@googlegroups.com)

CVE-2023-25569 Affected Apollo Versions

1 component(s)
Fixed Versions:
2.1.0
Product / Package Ecosystem Affected Versions Fixed Version
com.ctrip.framework.apollo:apollo
Maven
< 2.1.0
2.1.0

References

Frequently Asked Questions

What is CVE-2023-25569?
CVE-2023-25569 is a security vulnerability in Apollo involving apollo-portal has potential CSRF issue under CWE-352: Cross-Site Request Forgery (CSRF).
Which Apollo versions are affected?
Affected versions include releases prior to 2.1.0 across affected packages: com.ctrip.framework.apollo:apollo.
What version fixes CVE-2023-25569?
Upgrading to 2.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apollo affected?
Yes, com.ctrip.framework.apollo:apollo is affected in releases prior to 2.1.0. Upgrade your dependency to 2.1.0 or later.
What is the CVSS score of CVE-2023-25569?
CVE-2023-25569 has a CVSS v3.1 base score of 5.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2023-25569?
CVE-2023-25569 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Maven dependencies for CVE-2023-25569?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.ctrip.framework.apollo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fmxq-v8mg-qh25",
  "modified" : "2023-02-22T21:58:27Z",
  "published" : "2023-02-22T21:58:27Z",
  "aliases" : [ "CVE-2023-25569" ],
  "summary" : "apollo-portal has potential CSRF issue",
  "details" : "### Impact\nA low-privileged user can create a special web page. If an authenticated portal admin visits this page, the page can silently send a request to assign new roles for that user without any confirmation from the Portal admin.\n\n### Patches\nCookie SameSite strategy was set to Lax in #4664 and was released in [v2.1.0](https://github.com/apolloconfig/apollo/releases/tag/v2.1.0).\n\n### Workarounds\nTo fix the potential issue without upgrading, simply follow the advice that does not visit unknown source pages.\n\n### References\n[Apollo Security Guidence](https://www.apolloconfig.com/#/en/usage/apollo-user-guide?id=_71-security-related)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [issue](https://github.com/apolloconfig/apollo/issues)\n* Email us at [apollo-config@googlegroups.com](mailto:apollo-config@googlegroups.com)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.ctrip.framework.apollo:apollo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/security/advisories/GHSA-fmxq-v8mg-qh25"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-25569"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/pull/4664"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/commit/00d968a7229f809b0d8ed0532e8c01a6c2b7c750"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apolloconfig/apollo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/releases/tag/v2.1.0"
  }, {
    "type" : "WEB",
    "url" : "https://www.apolloconfig.com/#/en/usage/apollo-user-guide?id=_71-security-related"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-22T21:58:27Z",
    "nvd_published_at" : "2023-02-20T16:15:00Z"
  }
}