GHSA-ghw5-998m-vw4w BIT-liferay-2022-25146 CVE-2022-25146
Liferay Portal and Liferay DXP fails to check origin of event messages
- Severity
- 5.3 / 10
- Medium · CVSS 3.1
- Exploit chance (EPSS)
- 0.45%
- Chance of exploitation in the next 30 days. Higher than 39.31% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-346 Origin Validation Error
- Fix
- Available
- 2 packages have a fixed version
Description
The Remote App module before 2.0.21 from Liferay Portal v7.4.3.4 through v7.4.3.8 and Liferay DXP 7.4 before update 5 does not check if the origin of event messages it receives matches the origin of the Remote App, allowing attackers to exfiltrate the CSRF token via a crafted event message.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| com.liferay.portal:release.dxp.bom | < 7.4.13.u5 |
7.4.13.u5 |
| com.liferay:com.liferay.remote.app.web | < 2.0.21 |
2.0.21 |
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:release.dxp.bom Maven → 7.4.13.u5
- maven
<dependency><groupId>com.liferay.portal</groupId><artifactId>release.dxp.bom</artifactId><version>7.4.13.u5</version></dependency>- gradle
implementation("com.liferay.portal:release.dxp.bom:7.4.13.u5")
com.liferay:com.liferay.remote.app.web Maven → 2.0.21
- maven
<dependency><groupId>com.liferay</groupId><artifactId>com.liferay.remote.app.web</artifactId><version>2.0.21</version></dependency>- gradle
implementation("com.liferay:com.liferay.remote.app.web:2.0.21")
Severity breakdown
CVSS 3.1 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Weakness
CWE-346: Origin Validation Error
The product does not properly verify that the source of data or communication is valid.
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-66x6-8jgv-qpfh Liferay Portal and Liferay DXP vulnerable to Stored Cross-site Scripting | Medium | Also affects com.liferay.portal:release.dxp.bom |
| GHSA-rcc7-jx7p-hrv4 Liferay Portal and Liferay DXP vulnerable to store Cross-site Scripting | Medium | Also affects com.liferay.portal:release.dxp.bom |
| GHSA-m5c7-5gv3-hcpf Liferay Portal 7.4.0 and Liferay DXP have a reflected cross-site scripting (XSS) vulnerability | Medium | Also affects com.liferay.portal:release.dxp.bom |
| GHSA-222w-xmc5-jhp3 Liferay Portal and Liferay DXP have a reflected cross-site scripting vulnerability | Medium | Also affects com.liferay.portal:release.dxp.bom |
| GHSA-cg99-m88x-422c Liferay Portal and Liferay DXP have a Denial Of Service via File Upload (DOS) vulnerability | Medium | Also affects com.liferay.portal:release.dxp.bom |
| GHSA-c6g5-g6r7-q4j6 Liferay Portal and Liferay DXP vulnerable to Server-Side Request Forgery | Medium | Also affects com.liferay.portal:release.dxp.bom |
| GHSA-6v93-frf9-2rp8 Liferay Portal and Liferay DXP vulnerable to Server-Side Request Forgery | High | Also affects com.liferay.portal:release.dxp.bom |
| GHSA-qhp6-vp7c-g7xp Liferay Cross-site Scripting vulnerability | Medium | Also affects com.liferay.portal:release.dxp.bom |
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