Description
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| debian | debian linux | 8.0 | – |
| debian | debian linux | 9.0 | – |
| mercurial | mercurial | < 4.1.3 | – |
| redhat | enterprise linux desktop | 6.0 | – |
| redhat | enterprise linux desktop | 7.0 | – |
| redhat | enterprise linux server | 6.0 | – |
| redhat | enterprise linux server | 7.0 | – |
| redhat | enterprise linux server aus | 7.3 | – |
| redhat | enterprise linux server aus | 7.4 | – |
| redhat | enterprise linux server aus | 7.6 | – |
| redhat | enterprise linux server eus | 7.3 | – |
| redhat | enterprise linux server eus | 7.4 | – |
| redhat | enterprise linux server eus | 7.5 | – |
| redhat | enterprise linux server eus | 7.6 | – |
| redhat | enterprise linux server tus | 7.3 | – |
| redhat | enterprise linux server tus | 7.6 | – |
| redhat | enterprise linux workstation | 6.0 | – |
| redhat | enterprise linux workstation | 7.0 | – |
CWE-732 Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
| Scope | Impact |
|---|---|
| Confidentiality | Read Application Data, Read Files or Directories An attacker may be able to read sensitive information from the associated resource, such as credentials or configuration information stored in a file. |
| Access Control | Gain Privileges or Assume Identity An attacker may be able to modify critical properties of the associated resource to gain privileges, such as replacing a world-writable executable with a Trojan horse. |
| Integrity, Other | Modify Application Data, Other An attacker may be able to destroy or corrupt critical data in the associated resource, such as deletion of records from a database. For example, consider a misconfigured storage account for the cloud that can be read or written by a public or anonymous user. |
All 1,777 CWE-732 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org