CVE-2022-29247
Electron Allowed Renderer Process Escalation Through Node Integration in Subframes
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows a renderer with JS execution to obtain access to a new renderer process with `nodeIntegrationInSubFrames` enabled which in turn allows effective access to `ipcRenderer`. The `nodeIntegrationInSubFrames` option does not implicitly grant Node.js access. Rather, it depends on the existing sandbox setting. If an application is sandboxed, then `nodeIntegrationInSubFrames` just gives access to the sandboxed renderer APIs, which include `ipcRenderer`. If the application then additionally exposes IPC messages without IPC `senderFrame` validation that perform privileged actions or return confidential data this access to `ipcRenderer` can in turn compromise your application / user even with the sandbox enabled. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. As a workaround, ensure that all IPC message handlers appropriately validate `senderFrame`.
INFO
Published Date :
June 13, 2022, 9:15 p.m.
Last Modified :
June 27, 2022, 4:55 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-29247 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-29247
.
URL | Resource |
---|---|
https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
None
A curated list of awesome resources about Electron.js (in)security
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-29247
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-29247
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 27, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7 No Types Assigned https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions up to (excluding) 15.5.5 *cpe:2.3:a:electronjs:electron:16.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta5:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta6:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta7:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta8:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta9:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions from (including) 16.0.1 up to (excluding) 16.2.6 *cpe:2.3:a:electronjs:electron:17.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta5:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta6:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta7:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta8:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta9:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions from (including) 17.0.1 up to (excluding) 17.2.0 *cpe:2.3:a:electronjs:electron:18.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta5:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-29247
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-29247
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.26 }} -0.02%
score
0.63755
percentile