Skip to main content
← Vulnerabilities

psqlODBC log files are created with default permissions at a predictable path and follow symbolic links

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

5.3MediumCNA
Exploited
No known exploitation
Fix
Fixed in 18.00.0006
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 18.00.0006.

Published
Last modified
Published
Not listed in CISA KEV
25/100 · provisional
Fix
Fixed in 18.00.0006
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

The psqlODBC driver, which lets applications connect to PostgreSQL databases on Unix-like systems, is affected when its logging feature is enabled. A local user can read sensitive query text and data from another user's log files, or trick the driver into writing log data to a file the attacker chooses, with the victim's privileges.

Read the original description

On Unix-like systems, when logging is enabled, psqlODBC creates its log files in /tmp by default, named from the program name, user name, and process ID, with the default permissions, typically world-readable, and follows symbolic links when opening them. A local user can read query text and data from another user's logs, and can place a symbolic link at the predictable path so that the driver appends log data to a file of the attacker's choosing with the victim's privileges. Versions before psqlODBC 18.00.0006 are affected.

What to do

  • Upgrade to a fixed version: 18.00.0006.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • PostgreSQL psqlODBC

    fixed in 18.00.0006

Evidence 1

  1. Advisory

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.