Vulnerability Details : CVE-2021-43844
Potential exploit
MSEdgeRedirect is a tool to redirect news, search, widgets, weather, and more to a user's default browser. MSEdgeRedirect versions before 0.5.0.1 are vulnerable to Remote Code Execution via specifically crafted URLs. This vulnerability requires user interaction and the acceptance of a prompt. With how MSEdgeRedirect is coded, parameters are impossible to pass to any launched file. However, there are two possible scenarios in which an attacker can do more than a minor annoyance. In Scenario 1 (confirmed), a user visits an attacker controlled webpage; the user is prompted with, and downloads, an executable payload; the user is prompted with, and accepts, the aforementioned crafted URL prompt; and RCE executes the payload the user previously downloaded, if the download path is successfully guessed. In Scenario 2 (not yet confirmed), a user visits an attacked controlled webpage; the user is prompted with, and accepts, the aforementioned crafted URL prompt; and a payload on a remote, attacker controlled, SMB server is executed. The issue was found in the _DecodeAndRun() function, in which I incorrectly assumed _WinAPI_UrlIs() would only accept web resources. Unfortunately, file:/// passes the default _WinAPI_UrlIs check(). File paths are now directly checked for and must fail. There is no currently known exploitation of this vulnerability in the wild. A patched version, 0.5.0.1, has been released that checks for and denies these crafted URLs. There are no workarounds for this issue. Users are advised not to accept any unexpected prompts from web pages.
Vulnerability category: Execute code
Products affected by CVE-2021-43844
- cpe:2.3:a:msedgeredirect_project:msedgeredirect:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-43844
2.50%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 84 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-43844
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.3
|
HIGH | AV:N/AC:M/Au:N/C:C/I:C/A:C |
8.6
|
10.0
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2021-43844
-
The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-43844
-
https://github.com/rcmaehl/MSEdgeRedirect/security/advisories/GHSA-95v4-748v-fmf9
Externally Controlled Reference to a Resource in Another Sphere in MSEdgeRedirect · Advisory · rcmaehl/MSEdgeRedirect · GitHubExploit;Third Party Advisory
-
https://github.com/rcmaehl/MSEdgeRedirect/releases/tag/0.5.0.1
Release 0.5.0.1 - Security Fixes · rcmaehl/MSEdgeRedirect · GitHubRelease Notes;Third Party Advisory
Jump to