POC详情: 015e5397f8b06bae9fcb50f26f6e1cfc55f1098b

来源
关联漏洞
标题: Apperta Foundation OpenEyes 跨站脚本漏洞 (CVE-2021-40374)
描述:Apperta Foundation OpenEyes是Apperta Foundation基金会的一个开源电子病历(ERP)。 Apperta Foundation OpenEyes 3.5.1 中存在安全漏洞,该漏洞允许远程攻击者通过 Address1 参数注入任意 Web 脚本或 HTML。
描述
Stored Cross-site Scripting in OpenEyes 3.5.1
介绍
# CVE-2021-40374 - Stored Cross-site Scripting in OpenEyes 3.5.1

## Description

A stored cross-site scripting (XSS) vulnerability was identified in OpenEyes 3.5.1, developed by the Apperta Foundation.

Improper input handling in the 'Address1' parameter allowed for JavaScript to be injected into a patients profile. When the patient profile was loaded by the web browser, the JavaScript executed. This could be used to perform XSS attacks on unsuspecting users who view the patient profile.

## Reproduction

1. Browse to a patient profile.
2. Click the 'edit icon' near the top of the screen.
3. In the Address1 field, input the following JavaScript: `<IMG SRC=# onerror="alert('xxs')">`
4. Click 'Save patient'.
5. Reload the patient profile.
6. Note that an alert box is triggered by the browser with the message 'xss'.

## Impact

If an attacker were to embed malicious JavaScript into the OpenEyes application, it could be used to hijack user accounts, steal credentials, exfiltrate sensitive data or perform malicious actions on the OpenEyes application.  

## Demonstration

https://user-images.githubusercontent.com/20635370/131623517-818ac6f8-61bf-4221-8dd8-11fc7171acef.mp4
文件快照

[4.0K] /data/pocs/015e5397f8b06bae9fcb50f26f6e1cfc55f1098b └── [1.2K] README.md 0 directories, 1 file
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。