[KIS-2025-04] SugarCRM <= 14.0.0 (css/preview) LESS Code Injection Vulnerability
SugarCRM存在CSS预览API中的LESS代码注入漏洞,影响旧版本。攻击者可通过GET参数注入恶意LESS代码,利用@import语句触发SSRF或读取本地文件。建议升级至13.0.4或14.0.1修复。 2025-7-30 02:48:15 Author: seclists.org(查看原文) 阅读量:16 收藏

fulldisclosure logo

Full Disclosure mailing list archives


From: Egidio Romano <n0b0d13s () gmail com>
Date: Mon, 14 Jul 2025 10:50:28 +0200

------------------------------------------------------------------
SugarCRM <= 14.0.0 (css/preview) LESS Code Injection Vulnerability
------------------------------------------------------------------


[-] Software Link:

https://www.sugarcrm.com


[-] Affected Versions:

All commercial versions before 13.0.4 and 14.0.1.


[-] Vulnerability Description:

User input passed through GET parameters to the /css/preview REST API
endpoint is not properly sanitized before parsing it as LESS code. This can
be exploited by remote, unauthenticated attackers to inject and execute
arbitrary LESS directives. By abusing the @import LESS statement, an
attacker can trigger Server-Side Request Forgery (SSRF) or read arbitrary
local files on the web server, potentially leading to the disclosure of
sensitive information.


[-] Proof of Concept:

https://karmainsecurity.com/pocs/CVE-2024-58258.sh


[-] Solution:

Upgrade to version 13.0.4, 14.0.1, or later.


[-] Disclosure Timeline:

[07/09/2024] - Vendor notified through HackerOne
[03/10/2024] - Versions 13.0.4 and 14.0.1 released
[03/01/2025] - Vendor closed the HackerOne report as "Resolved"
[12/07/2025] - CVE identifier requested
[13/07/2025] - CVE identifier assigned
[14/07/2025] - Public disclosure


[-] CVE Reference:

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


[-] Credits:

Vulnerability discovered by Egidio Romano.


[-] Original Advisory:

http://karmainsecurity.com/KIS-2025-04


[-] Other References:

https://support.sugarcrm.com/resources/security/sugarcrm-sa-2024-059/
_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: https://seclists.org/fulldisclosure/


Current thread:

  • [KIS-2025-04] SugarCRM <= 14.0.0 (css/preview) LESS Code Injection Vulnerability Egidio Romano (Jul 29)

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