CVE-2020-10733: PostgreSQL Windows Installer - Remote Code Execution
- Cve: CVE-2020-10733
- Name: PostgreSQL Windows Installer - Remote Code Execution
- Description: The Windows installer for PostgreSQL 9.5 - 12 invokes system-provided executables that do not have fully-qualified paths. Executables in the directory where the installer loads or the current working directory take precedence over the intended executables. An attacker having permission to add files into one of those directories can use this to execute arbitrary code with the installer's administrative rights.
- Impact: Local attackers can execute arbitrary code with administrative privileges by placing malicious files in load directories.
- Remediation: Ensure the installer uses fully-qualified paths for executables and restrict directory permissions to prevent file placement by unprivileged users.
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs permission to add files into load directories
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0053
- Epss percentile: 0.45737
- Assignee: [email protected]
- Published at: 2020-09-16T15:15:12Z
- Age in days: 2260
- Modified at: 2026-06-17T02:48:20Z
- Patch available: yes
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-10733
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-426 | Untrusted Search Path |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.postgresql.org/about/news/2038/ | Vendor Advisory |
| https://www.postgresql.org/support/security/11/ | Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20201001-0006/ | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| postgresql:postgresql | >= 12.0, < 12.3; >= 11.0, < 11.8; >= 10.0, < 10.13; >= 9.6, < 9.6.18; >= 9.5, < 9.5.22 | no | nvd | /v1/products/postgresql/postgresql |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 217768
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports