Bug 1660495 (CVE-2018-19960)

Summary: CVE-2018-19960 onionshare: debug_mode function uses /tmp/onionshare_server.log pathname for logging
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: pj.pandit
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:44:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1660496    
Bug Blocks:    

Description Andrej Nemec 2018-12-18 13:09:07 UTC
The debug_mode function in web/web.py in OnionShare through 1.3.1, when --debug is enabled, uses the /tmp/onionshare_server.log pathname for logging, which might allow local users to overwrite files or obtain sensitive information by using this pathname.

References:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915859

Comment 1 Andrej Nemec 2018-12-18 13:09:17 UTC
Created onionshare tracking bugs for this issue:

Affects: fedora-all [bug 1660496]

Comment 2 Product Security DevOps Team 2019-06-10 10:44:14 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.