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.
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
Link | Tags |
---|---|
https://www.postgresql.org/support/security/11/ | vendor advisory |
https://www.postgresql.org/about/news/2038/ | vendor advisory |
https://security.netapp.com/advisory/ntap-20201001-0006/ | third party advisory |