Liferay Portal and DXP, Memory Leak, CVE-2025-45405 (Moderate)

Listen to this Post

The vulnerability CVE-2025-45405 is a memory leak within the headless API endpoint responsible for handling `StructuredContents` in Liferay. This flaw exists due to improper management of objects in memory during API requests. Specifically, when an attacker sends repeated, crafted requests to the vulnerable endpoint, the application fails to release the allocated memory after processing each request. This occurs because object references are not correctly garbage collected, leading to a gradual accumulation of unused objects in the Java heap space. With each subsequent malicious request, the available memory diminishes. Over time, this exhaustive memory consumption causes significant performance degradation and ultimately results in a denial of service (DoS) condition as the system runs out of memory, making the Liferay server unavailable to legitimate users.
Platform: Liferay Portal/DXP
Version: 7.4.0 – 7.4.3.119
Vulnerability: Memory Leak
Severity: Moderate

date: 2024-09-25

Prediction: Patch expected 2024-10-02

What Undercode Say:

`$ for i in {1..1000}; do curl -X GET “http:///o/api/structured-contents”; done`

`$ jstat -gc 1s`

`Monitoring heap usage (EU/OU) increase.`

How Exploit:

Automated scripts send numerous HTTP GET requests to the `/o/api/structured-contents` endpoint. Each request triggers the leak. Attacker observes server response time increasing until outage.

Protection from this CVE:

Upgrade to patched versions. Apply rate limiting. Monitor memory metrics.

Impact:

Denial of Service. Server unavailability. Performance degradation.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: github.com
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top