Skip to content

Improper Privilege Management in Apache Sling

Moderate severity GitHub Reviewed Published Feb 23, 2023 to the GitHub Advisory Database • Updated Mar 3, 2023

Package

maven org.apache.sling:org.apache.sling.i18n (Maven)

Affected versions

< 2.6.2

Patched versions

2.6.2

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.

References

Published by the National Vulnerability Database Feb 23, 2023
Published to the GitHub Advisory Database Feb 23, 2023
Reviewed Feb 23, 2023
Last updated Mar 3, 2023

Severity

Moderate

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
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

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:L/PR:L/UI:N/S:U/C:N/I:H/A:N

EPSS score

0.055%
(25th percentile)

Weaknesses

CVE ID

CVE-2023-25621

GHSA ID

GHSA-mrpv-5pmr-p92h

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.