Node Webcam
Monthly
OS command injection in the npm package node-webcam (chuckfairy/node-webcam) through version 0.8.2 allows attackers who can influence the capture options passed into the FSWebcam backend to run arbitrary shell commands on the host. The flaw sits in generateSh() in src/webcams/FSWebcam.js, which concatenates those options into an fswebcam command line without sanitization; exploitation is conditional because node-webcam is a library, so remote unauthenticated reach only applies where the embedding application forwards untrusted input into those capture parameters, and the host must actually have the fswebcam binary the library shells out to. A public PoC reference exists (GitHub issue #74); it is not verified as working exploit code, and there is no confirmed active exploitation. The maintainer was notified early via that issue report and has not responded, and no fixed version is listed.
OS command injection in the npm package node-webcam (chuckfairy/node-webcam) through version 0.8.2 allows attackers who can influence the capture options passed into the FSWebcam backend to run arbitrary shell commands on the host. The flaw sits in generateSh() in src/webcams/FSWebcam.js, which concatenates those options into an fswebcam command line without sanitization; exploitation is conditional because node-webcam is a library, so remote unauthenticated reach only applies where the embedding application forwards untrusted input into those capture parameters, and the host must actually have the fswebcam binary the library shells out to. A public PoC reference exists (GitHub issue #74); it is not verified as working exploit code, and there is no confirmed active exploitation. The maintainer was notified early via that issue report and has not responded, and no fixed version is listed.