1. CVE archive
  2. 2017
  3. CVE-2017-0380

CVE-2017-0380

5.9 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 5.9 – Medium

Description

The rend_service_intro_established function in or/rendservice.c in Tor before 0.2.8.15, 0.2.9.x before 0.2.9.12, 0.3.0.x before 0.3.0.11, 0.3.1.x before 0.3.1.7, and 0.3.2.x before 0.3.2.1-alpha, when SafeLogging is disabled, allows attackers to obtain sensitive information by leveraging access to the log files of a hidden service, because uninitialized stack data is included in an error message about construction of an introduction point circuit.

Affected products

VendorProductVersionPlatform
torproject tor <= 0.2.8.14 –
torproject tor 0.2.9.0 –
torproject tor 0.2.9.0 alpha –
torproject tor 0.2.9.1 alpha –
torproject tor 0.2.9.2 alpha –
torproject tor 0.2.9.3 alpha –
torproject tor 0.2.9.4 alpha –
torproject tor 0.2.9.5 alpha –
torproject tor 0.2.9.6 –
torproject tor 0.2.9.8 –
torproject tor 0.2.9.9 –
torproject tor 0.2.9.10 –
torproject tor 0.2.9.11 –
torproject tor 0.3.0.0 –
torproject tor 0.3.0.1 alpha –
torproject tor 0.3.0.2 alpha –
torproject tor 0.3.0.3 alpha –
torproject tor 0.3.0.4 rc –
torproject tor 0.3.0.5 rc –
torproject tor 0.3.0.6 –
torproject tor 0.3.0.7 –
torproject tor 0.3.0.8 –
torproject tor 0.3.0.9 –
torproject tor 0.3.0.10 –
torproject tor 0.3.1.1 alpha –
torproject tor 0.3.1.2 alpha –
torproject tor 0.3.1.3 alpha –
torproject tor 0.3.1.4 alpha –
torproject tor 0.3.1.5 alpha –
torproject tor 0.3.1.6 alpha –
torproject tor 0.3.2 –
All 48 Torproject Tor vulnerabilities

Vulnerability type

CWE-532 Insertion of Sensitive Information into Log File

The product writes sensitive information to a log file.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
Logging sensitive user data, full path names, or system information often provides attackers with an additional, less-protected path to acquiring the information.

How to prevent it

Architecture and Design · Implementation Consider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
Distribution Remove debug log files before deploying the application into production.
Operation Protect log files against unauthorized read/write.
Implementation Adjust configurations appropriately when software is transitioned from a debug state to production.

All 1,339 CWE-532 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org