关联漏洞
标题:
Safe Exam Browser 安全漏洞
(CVE-2024-37742)
描述:Safe Exam Browser是瑞士ETH Zurich组织的一个安全网络浏览器环境。可以安全地进行在线考试。 Safe Exam Browser for Windows 3.6之前版本存在安全漏洞。攻击者利用该漏洞在 SEB 信息亭模式和底层系统之间共享剪贴板数据,从而损害完整性,可能导致任意代码执行并通过剪贴板管理组件获取敏感信息。
描述
This repository contains a PoC for exploiting CVE-2024-37742, a vulnerability in Safe Exam Browser (SEB) ≤ 3.5.0 on Windows. The vulnerability enables unauthorized clipboard data sharing between SEB's kiosk mode and the underlying system, compromising the integrity of exams.
介绍
# CVE-2024-37742: Clipboard Exploit in SEB ≤ 3.5.0 (Windows)
This repository contains a proof-of-concept (PoC) for exploiting CVE-2024-37742, a vulnerability in Safe Exam Browser (SEB) ≤ 3.5.0 on Windows. The vulnerability allows an attacker to share clipboard data between the SEB kiosk mode and the underlying system, compromising exam integrity. By exploiting this flaw, an attacker can bypass exam controls and gain an unfair advantage during exams.
## Disclaimer
This repository is for educational purposes only. The information provided here is intended to help developers understand the vulnerability and protect their systems. Do not use this exploit maliciously or without permission. Use of this PoC is at your own risk. The author is not responsible for any damages or legal issues that may arise from the use of this information.
## Affected Versions
SEB ≤ 3.5.0 (Windows)
## How It Works
1. Incorrect access control allows clipboard data sharing between SEB kiosk and the underlying system.
2. The exploit utilizes the pyperclip Python module to copy answers from a JSON file in the 'Answer-Key' directory, containing questions and answers.
3. In SEB kiosk mode:\
The user copies the question.\
The wmi Python module monitors system charge and discharge states to signal a Python script.\
The script accesses clipboard data, searches the JSON file for the answer, and pastes it into the clipboard.
4. Finally, the user pastes the answer from the clipboard into the answer field.
[](https://youtu.be/ICJSc8FsJYk)
## Impact
This vulnerability allows authorized users to compromise the integrity of exams conducted using Safe Exam Browser (SEB). By exploiting incorrect access control, users can share clipboard data between the SEB kiosk mode and the underlying system. This enables them to copy exam questions, retrieve answers from an external source, and paste them back into the exam, undermining the security and fairness of the examination process.
## Mitigation/Resolution
#### 1. Upgrade to Safe Exam Browser (SEB) ≥ 3.6.0 for Windows, in the new version SEB has implemented an isolated clipboard

\
#### 2. Configure Browser and Exam Key to use SEB 3.6.0

## References
[https://safeexambrowser.org/windows/win_usermanual_en.html] \
[https://safeexambrowser.org/windows/win_release_notes_en.html]
## License
This code is available under the MIT License. See the [LICENSE](https://github.com/Eteblue/CVE-2024-37742/blob/main/LICENSE) file for details.
文件快照
[4.0K] /data/pocs/454a296fa898135135d02882970ec4de5ef34655
├── [4.0K] Answer-Key
│ └── [ 199] file.json
├── [ 309] json2dict.py
├── [1.0K] LICENSE
├── [1.6K] main.py
├── [2.7K] README.md
└── [ 72] requirements.txt
1 directory, 6 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。