[KIS-2025-13] PKP-WAL <= 3.5.0-3 (X-Forwarded-Host) LESS Code Injection Vulnerability
PKP-WAL 3.5.0-3及以下版本存在X-Forwarded-Host头导致的LESS代码注入漏洞,可致SSRF或本地文件读取。该漏洞利用baseUrl变量构造不当引起。目前无官方补丁。 2025-12-28 05:19:49 Author: seclists.org(查看原文) 阅读量:9 收藏

fulldisclosure logo

Full Disclosure mailing list archives


From: Egidio Romano <n0b0d13s () gmail com>
Date: Tue, 23 Dec 2025 12:20:01 +0100

-----------------------------------------------------------------------
PKP-WAL <= 3.5.0-3 (X-Forwarded-Host) LESS Code Injection Vulnerability
-----------------------------------------------------------------------


[-] Software Links:

https://pkp.sfu.ca
https://github.com/pkp/pkp-lib


[-] Affected Versions:

PKP Web Application Library (aka PKP-WAL or pkp-lib) version 3.4.0-10
and prior versions, and version 3.5.0-3 and prior versions, as used in
Open Journal Systems (OJS), Open Monograph Press (OMP), and Open
Preprint Systems (OPS).


[-] Vulnerability Description:

The vulnerability exists within the PKPTemplateManager::compileLess()
method, which will call the Less_Parser::parse() method passing to it
the "baseUrl" variable. Such a variable, which is constructed from a
call to the $request->getBaseUrl() method, can be manipulated by
unauthenticated attackers through the X-Forwarded-Host HTTP header,
and this can be exploited to perform LESS Code Injection attacks,
subsequently leading to SSRF or Local File Read attacks.

Successful exploitation of this vulnerability requires the
allowed_hosts setting to be set to an empty string within the
config.inc.php script.


[-] Solution:

No official solution is currently available.


[-] Disclosure Timeline:

[21/10/2025] - Vendor notified

[24/10/2025] - Vendor replied the following GitHub issue already
solves the issue: https://github.com/pkp/pkp-lib/issues/7649

[25/10/2025] - Response sent to the vendor, stating this should be
treated as a new, different issue

[12/11/2025] - CVE identifier requested

[12/12/2025] - CVE identifier assigned

[23/12/2025] - Publication of this advisory


[-] CVE Reference:

The Common Vulnerabilities and Exposures program (cve.org) has
assigned the name CVE-2025-67891 to this vulnerability.


[-] Credits:

Vulnerability discovered by Egidio Romano.


[-] Original Advisory:

http://karmainsecurity.com/KIS-2025-13
_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: https://seclists.org/fulldisclosure/


Current thread:

  • [KIS-2025-13] PKP-WAL <= 3.5.0-3 (X-Forwarded-Host) LESS Code Injection Vulnerability Egidio Romano (Dec 27)

文章来源: https://seclists.org/fulldisclosure/2025/Dec/35
如有侵权请联系:admin#unsafe.sh