CVE-2023-25569: Apollo Apollo-portal Has Potential CSRF Issue Vulnerability
MODERATECVE-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
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).
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.
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo</artifactId>
<version>2.1.0</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-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
CVE-2023-25569 Affected Apollo Versions
1 component(s)| 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?
Which Apollo versions are affected?
What version fixes CVE-2023-25569?
Is apollo affected?
What is the CVSS score of CVE-2023-25569?
What CWE is associated with CVE-2023-25569?
How can I check Maven dependencies for CVE-2023-25569?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}