Apache ShenYu 2.4.1 Improper access control
Description
Apache ShenYu 2.4.0 and 2.4.1 allow unauthenticated access to the /plugin API, leading to potential disclosure or modification of plugin configuration.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Apache ShenYu 2.4.0 and 2.4.1 allow unauthenticated access to the /plugin API, leading to potential disclosure or modification of plugin configuration.
Vulnerability
Apache ShenYu versions 2.4.0 and 2.4.1 improperly allow unauthenticated users to access the /plugin API endpoint. The issue exists because the plugin-related API endpoints were not excluded from the Shiro authentication white list, effectively granting anonymous access to plugin management functionality [1][2].
Exploitation
An attacker with network access to the ShenYu Admin dashboard can exploit this vulnerability by sending HTTP requests to the /plugin API without any authentication token or session. No prior authentication, user interaction, or special privileges are required. The attacker can enumerate plugin endpoints, view plugin details, or potentially modify plugin settings if the API supports write operations [1][4].
Impact
Successful exploitation allows an unauthenticated attacker to read or manipulate plugin configuration data, leading to information disclosure or unauthorized changes in API gateway behavior. This could result in bypassing security controls, redirecting traffic, or disrupting service governance [1][2].
Mitigation
Apache has fixed this issue in a commit that removes the /plugin endpoints from the Shiro white list, requiring authentication for plugin API access [1]. Users should upgrade to ShenYu version 2.4.2 or later, or apply the patch from pull request #2462. No known workarounds other than restricting network access to the admin portal are available. The vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog [1][2][4].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.shenyu:shenyu-commonMaven | >= 2.4.0, < 2.4.2 | 2.4.2 |
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
8- github.com/advisories/GHSA-6v39-p2xq-g5c3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23944ghsaADVISORY
- www.openwall.com/lists/oss-security/2022/01/25/15ghsamailing-listx_refsource_MLISTWEB
- www.openwall.com/lists/oss-security/2022/01/25/5ghsamailing-listx_refsource_MLISTWEB
- www.openwall.com/lists/oss-security/2022/01/26/2ghsamailing-listx_refsource_MLISTWEB
- github.com/apache/incubator-shenyu/pull/2462ghsaWEB
- github.com/apache/shenyu/pull/2462/commits/50e4b5e626ad94b415e26ef4fbe584bd51fd1b77ghsaWEB
- lists.apache.org/thread/dbrjnnlrf80dr0f92k5r2ysfvf1kr67yghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.