CVE-2023-25621
Improper Privilege Management in Apache Sling
Description
Privilege Escalation vulnerability in Apache Software Foundation Apache Sling. Any content author is able to create i18n dictionaries in the repository in a location the author has write access to. As these translations are used across the whole product, it allows an author to change any text or dialog in the product. For example an attacker might fool someone by changing the text on a delete button to "Info". This issue affects the i18n module of Apache Sling versions before 2.6.2. Version 2.6.2 and higher limit by default i18m dictionaries to certain paths in the repository (/libs and /apps). Users of the module are advised to update to version 2.6.2 or higher, check the configuration for resource loading and then adjust the access permissions for the configured path accordingly.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sling » org.apache.sling.i18n | < 2.6.2 | 2.6.2 |
Blast radius
64% of the dependent artifacts (124) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 784 |
| 2 hops | 874 |
| 3 hops | 812 |
| 4 hops | 533 |
| 5 hops | 171 |
| 6 hops | 1 |
Most used dependents
- org.apache.sling » org.apache.sling.testing.sling-mock.junit487 usages
- com.adobe.aem » aem-sdk-api86 usages
- io.wcm » io.wcm.testing.aem-mock.junit580 usages
- org.apache.sling » org.apache.sling.testing.sling-mock-oak68 usages
- org.apache.sling » org.apache.sling.testing.sling-mock59 usages
- org.apache.sling » org.apache.sling.testing.caconfig-mock-plugin58 usages
- com.adobe.cq » core.wcm.components.core49 usages
- com.day.cq.wcm » cq-wcm-foundation36 usages
- io.wcm » io.wcm.testing.aem-mock33 usages
- org.apache.sling » org.apache.sling.testing.sling-mock.junit528 usages
- io.wcm » io.wcm.testing.aem-mock.junit426 usages
- com.adobe.cq » core.wcm.components.content25 usages
- io.wcm » io.wcm.testing.wcm-io-mock.sling24 usages
- com.day.cq » cq-security23 usages
- com.composum.pages » composum-pages-commons-bundle20 usages
Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-25621 | nvd.nist.gov |
| Web | apache/sling-org-apache-sling-i18n pull request #9 | github.com |
| Web | jira/browse/SLING-11744 | issues.apache.org |
| Web | oss-sec/2023/q1/112 | seclists.org |
| Web | news.html | sling.apache.org |
