Skip to content

GHSA-822f-jfpg-hg7h BIT-liferay-2022-26595 CVE-2022-26595

Liferay Portal and Liferay DXP fails to check permissions to view sites/groups

Medium Maven
Severity
4.3 / 10
Medium · CVSS 3.1
Exploit chance (EPSS)
0.75%
Chance of exploitation in the next 30 days. Higher than 54.84% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-276 Incorrect Default Permissions
Fix
Available
4 packages have a fixed version

Description

Liferay Portal 7.3.7, 7.4.0, and 7.4.1, and Liferay DXP 7.2 fix pack 13, and 7.3 fix pack 2 does not properly check user permission when accessing a list of sites/groups, which allows remote authenticated users to view sites/groups via the user's site membership assignment UI.

Affected versions

Maven

PackageVulnerableFixed in
com.liferay.portal:com.liferay.portal.impl
< 7.7.9
7.7.9
com.liferay.portal:release.dxp.bom
>= 7.2.0, < 7.2.10.fp13
7.2.10.fp13
com.liferay.portal:release.dxp.bom
>= 7.3.0, < 7.3.10.fp2
7.3.10.fp2
com.liferay.portal:release.portal.bom 1 listed versions No fix yet
com.liferay.portal:release.portal.bom
>= 7.4.0, < 7.4.2-ga3
7.4.2-ga3
com.liferay:com.liferay.site.browser.web
< 6.0.5
6.0.5

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

com.liferay.portal:com.liferay.portal.impl Maven → 7.7.9

maven
<dependency><groupId>com.liferay.portal</groupId><artifactId>com.liferay.portal.impl</artifactId><version>7.7.9</version></dependency>
gradle
implementation("com.liferay.portal:com.liferay.portal.impl:7.7.9")

com.liferay.portal:release.dxp.bom Maven → 7.2.10.fp13

maven
<dependency><groupId>com.liferay.portal</groupId><artifactId>release.dxp.bom</artifactId><version>7.2.10.fp13</version></dependency>
gradle
implementation("com.liferay.portal:release.dxp.bom:7.2.10.fp13")

com.liferay.portal:release.portal.bom Maven → 7.4.2-ga3

maven
<dependency><groupId>com.liferay.portal</groupId><artifactId>release.portal.bom</artifactId><version>7.4.2-ga3</version></dependency>
gradle
implementation("com.liferay.portal:release.portal.bom:7.4.2-ga3")

com.liferay:com.liferay.site.browser.web Maven → 6.0.5

maven
<dependency><groupId>com.liferay</groupId><artifactId>com.liferay.site.browser.web</artifactId><version>6.0.5</version></dependency>
gradle
implementation("com.liferay:com.liferay.site.browser.web:6.0.5")

Severity breakdown

CVSS 3.1 4.3

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Weakness

CWE-276: Incorrect Default Permissions

During installation, installed file permissions are set to allow anyone to modify those files.

How to prevent it
  • Architecture and Design, Operation: The architecture needs to access and modification attributes for files to only those users who actually require those actions.
  • Architecture and Design: Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-6533-fhr2-f38h
Liferay Portal and DXP use an incorrect cache-control header
Medium Also affects com.liferay.portal:com.liferay.portal.impl
GHSA-2j97-4jmq-c4xf
Liferay Portal Vulnerable to Reflected XSS via the selectedLanguageId Parameter
Medium Also affects com.liferay.portal:release.portal.bom
GHSA-56jv-4ww3-65mw
Liferay Portal is vulnerable to XSS in the Blogs widget
Medium Also affects com.liferay.portal:release.portal.bom
GHSA-f5vh-4rj2-w8r8
Liferay Portal is vulnerable to DNS rebinding attacks
Medium Also affects com.liferay.portal:release.portal.bom
GHSA-8hw3-ghwv-crfh
Liferay Portal vulnerable to password enumeration
Medium Also affects com.liferay.portal:release.portal.bom
GHSA-gv7w-jh8g-vr73
Liferay Portal Does Not Limit Access to APIs Before Email Verification
Medium Also affects com.liferay.portal:release.portal.bom
GHSA-gh4w-8qgq-8w9r
Liferay Portal Vulnerable to CSRF in Headless APIs
Medium Also affects com.liferay.portal:release.portal.bom
GHSA-xcj6-xpjg-c4xr
Liferay Portal Stores Password Reset Tokens in Plain Text
Medium Also affects com.liferay.portal:com.liferay.portal.impl
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor