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

目标: 1000 元 · 已筹: 1336

100%

CVE-2021-38149 PoC — Chikitsa Patient Management System 跨站脚本漏洞

来源
关联漏洞
标题: Chikitsa Patient Management System 跨站脚本漏洞 (CVE-2021-38149)
Description:Chikitsa Patient Management System是一个应用软件。一款开源患者管理软件, 它快速、响应迅速且易于使用。 Chikitsa Patient Management System 2.0.0存在安全漏洞,该漏洞源于WEB应用缺少对客户端数据的正确验证。攻击者可利用该漏洞执行客户端代码。
Description
Chikitsa Patient Management System Stored Cross-Site Scripting (XSS)
介绍
# CVE-2021-38149
Chikitsa Patient Management System 2.0.0 Stored Cross-Site Scripting (XSS)

An instance of stored cross-site scripting (XSS) exists in multiple pages on version 2.0.0 of Chikitsa Patient Management System that allows for arbitrary JavaScript to be executed in a user's browswer that could potentially allow for a user to escalate privileges.

Vulnerable Pages:
- /index.php/admin/add_user
- /index.php/appointment/todos
- /index.php/appointment/insert_patient_add_appointment/(hr of apppointment)/(minute of appointment)/<date>/Appointments//0/
  
Known Cross-Site Scripting Payloads That Work:
  - ```<script>alert('xss');</script>```
  - ```<img src=x onerror=alert(document.domain)>```

<h2>Proof of Concept:</h2>

![image](https://user-images.githubusercontent.com/67240643/128488299-3d9747b9-1664-4666-a76f-f7e47e049dce.png)
<i>A user with privileges to create other users has the ability to create users can input a XSS payload into any of the user's name fields shown above.</i>
  
![image](https://user-images.githubusercontent.com/67240643/128488944-04f3d355-8f0d-4f58-84d7-c50f68a47b76.png)
  <i>Observing the application's response reveals that the JavaScript is being reflected.</i>
  
![image](https://user-images.githubusercontent.com/67240643/128489227-1f2021c6-7716-4526-a912-55d987343444.png)
<i>The created user containing the malicious XSS payload has successfully been created and will execute the JavaScript everytime a user visits the users the application contains.</i>

Discovered By: Joe Aguilar Jr.
文件快照

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

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