WebcamViewer
PoC of CVE-2021-30731
Install / Use
/learn @osy/WebcamViewerREADME
Webcam Viewer
Previews the connected webcam as a PoC of CVE-2021-30731.
Must be running macOS 11.3.1 or lower or macOS 10.15 before Catalina Security Update 2021-004.
Building
- Install build prerequisites:
brew install autoconf automake cmake libtool pkg-config - Build dependencies:
./bootstrap.sh - Open the Xcode project and build.
Usage
Select a UVD compatible USB webcam from the list. If it does not appear, unplug and replug the device. Note that built in FaceTime HD cameras on MacBooks cannot be captured because of UsbUserClientEntitlementRequired.
Tested working with the LG UltraFine 5K built-in webcam.
Issues
Since this is just a PoC, there's a few bugs that's not been resolved.
- Frame tearing is observed. Unsure if this is a libuvc issue or not.
- Stopping and re-starting a preview fails and the app freezes.
- Force quitting the app results in the USB device being un-able to be used by the system again. A un-plug and re-plug is required.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
