nday
CVE-2017-14798

local privilege escalation in SUSE postgresql init script

suse / postgresql-init

A public PoC appeared 165 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

tags weakness typerace conditionlink following accesslocal exploitationExploit-DB productPostgreSQL product typedatabase
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-362, stated by NVD's analysts
link following
CWE-61, stated by the CNA microfocus and NVD, republishing [email protected]
local
AV:L in CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA microfocus
Exploit-DB
Exploit-DB entries 45184
PostgreSQL
CPE names NVD's analysts give as vulnerable: a:postgresql:postgresql
database
CPE names NVD's analysts give as vulnerable: a:postgresql:postgresqlthe product type of PostgreSQL in nday's product registry
stage
POC
disclosed
disclosure → PoC
T+165d POC is date-only
cvss
7.3 HIGH v3.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2018-03-01T19:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2018-08-13, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS 3.0 vector from the CVE record, scored by the CNA microfocus.

Event log

+DISdisclosed

CVE record published by microfocus. CVSS 7.3, high.

src cvelist · nday , bulk import · raw
{
  "id": 68076,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2017-14798",
  "occurred_at": "2018-03-01T19:00:00Z",
  "observed_at": "2026-11-13T01:04:22.549374Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.0",
      "base_score": 7.3,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2018-03-01T19:00:00.000Z",
    "assigner_short_name": "microfocus"
  }
}
2018-08-13date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PostgreSQL 9.4-0.5.3 - Privilege Escalation” (EDB-45184).

src exploitdb 45184 · nday , bulk import · raw
{
  "id": 24375,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/45184",
  "occurred_at": "2018-08-13T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "45184",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/45184",
    "file": "exploits/linux/local/45184.sh",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "PostgreSQL 9.4-0.5.3 - Privilege Escalation",
    "author": "Johannes Segitz",
    "edb_id": 45184,
    "cve_ids": [
      "CVE-2017-14798"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-08-13",
    "date_updated": "2018-08-13",
    "date_published": "2018-08-13"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.