Technical impact
A logic flaw in Epiphany’s permission handling causes camera and microphone rights to be granted whenever a user approves a different permission, such as clipboard or website‑data access. The bug originates in src/ephy-window.c where the set_permission() function stores the user’s choice. Types CLIPBOARD and WEBSITE_DATA_ACCESS are not stored correctly, so the code falls through to an else‑if block that is written as EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE. Because that expression is a non‑zero enum constant, the branch always evaluates to true, resulting in a permit being written for both ACCESS_WEBCAM and ACCESS_MICROPHONE for the site origin. The user sees only the alternate permission dialog, unaware that audio‑video capabilities have been granted. A malicious site that obtains clipboard or third‑party storage approval can then invoke getUserMedia without an additional camera or microphone prompt, enabling covert capture of the user’s voice or video and compromising audiovisual confidentiality.
Affected Systems
Epiphany version 45.0 and later, including releases up through 51.x, are affected. The vulnerability exists in the desktop web browser component of GNOME, and any user running these versions while browsing malicious content could be impacted. Versions newer than the patch that incorporates the jump‑consuming commit are not vulnerable.
Risk and Exploitability
The vulnerability has a CVSS score of 6.5, indicating moderate severity. No EPSS score is available, and the issue is not listed in the CISA KEV catalog, suggesting a lower public exploitation likelihood at the moment. Nevertheless, the attack vector requires a user to visit a compromised website and grant clipboard or third‑party storage permission. Once granted, the attacker can invoke getUserMedia to capture audio or video with no additional prompt, effectively allowing covert surveillance. The exploit demands user interaction with a malicious site but does not require remote code execution or administrative privileges.