CVE-2017-14798
HIGHPostgreSQL - Privilege Escalation via Race Condition in Init Script
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2017-14798. PoCs published by Johannes Segitz.
AI-analyzed exploit summary This exploit leverages a symbolic link vulnerability in PostgreSQL's data directory initialization to escalate privileges. By replacing the data directory with a symlink to /etc/cron.hourly, the attacker gains write access to cron jobs, allowing arbitrary command execution as root.
Description
A race condition in the postgresql init script could be used by attackers able to access the postgresql account to escalate their privileges to root.
Exploits (1)
This exploit leverages a symbolic link vulnerability in PostgreSQL's data directory initialization to escalate privileges. By replacing the data directory with a symlink to /etc/cron.hourly, the attacker gains write access to cron jobs, allowing arbitrary command execution as root.
References (4)
Scores
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H