Bug 1730312 (CVE-2019-13228)

Summary: CVE-2019-13228 deepin-clone: fixed path in the BootDoctor::fix() function allows symlink attack
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: robinlee.sysu, sensor.wen, sztsian
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-07-16 14:40:51 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: 1730314    
Bug Blocks:    

Description Marian Rehak 2019-07-16 12:30:34 UTC
deepin-clone before 1.1.3 uses a fixed path /tmp/repo.iso in the BootDoctor::fix() function to download an ISO file, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files. The content is not attacker controlled. By winning a race condition to replace the /tmp/repo.iso symlink by an attacker controlled ISO file, further privilege escalation may be possible.

External References:

https://bugzilla.suse.com/show_bug.cgi?id=1130388

Comment 1 Marian Rehak 2019-07-16 12:31:50 UTC
Created deepin-clone tracking bugs for this issue:

Affects: fedora-30 [bug 1730314]

Comment 2 Product Security DevOps Team 2019-07-16 14:40:51 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.