Quantum Secular Labs / Blog / Advisories

CVE-2018-12713: GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a…

CVE-2018-12713 is rated critical with a CVSS v3.1 base score of 9.1 and affects Gimp. Per its scoring, it can be exploited over the network, without authentication, without any user interaction.

Vulnerability description

GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that already exists, as demonstrated by the gimp_write_and_read_file function in app/tests/test-xcf.c. This might be leveraged by attackers to overwrite files or read file content that was intended to be private.

Severity breakdown

CVSS v3.1 9.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

  • Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
  • Attack complexity: Low. No special conditions; the attack can be repeated reliably.
  • Privileges required: None. No account or prior access is needed.
  • User interaction: None. No action from any user is needed.
  • Scope: Unchanged. Impact stays within the vulnerable component.
  • Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
  • Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
  • Availability impact: None. No effect on availability.

Affected products

  • Gimp: up to and including 2.10.2

References