Bug 1149608 (CVE-2014-7271)

Summary: CVE-2014-7271 sddm: user "sddm" can login without authentication.
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jgrulich, kevin, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:35:08 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: 1149628    
Bug Blocks:    

Description Vasyl Kaigorodov 2014-10-06 08:23:14 UTC
It was reported that it's possible to login as "sddm" user without authentication:

This is since if sddm detects that user in the PamBackend,
it has:

        if (user == "sddm")
            service = "sddm-greeter";
        else if (m_app->session()->path().isEmpty())
            service = "sddm-check";
        else if (m_autologin)
            service = "sddm-autologin";
        result = m_pam->start(service, user);


and the sddm-greeter PAM config basically just has a pam_permit.
More info is available at [1]. Upstream patch is at [2].

[1]: https://bugzilla.suse.com/show_bug.cgi?id=897788#c6
[2]: https://github.com/sddm/sddm/pull/279

Comment 1 Vasyl Kaigorodov 2014-10-06 09:43:50 UTC
Created sddm tracking bugs for this issue:

Affects: fedora-all [bug 1149628]

Comment 2 Fedora Update System 2014-10-28 06:46:52 UTC
sddm-0.9.0-2.20141007git6a28c29b.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2014-10-31 02:43:23 UTC
sddm-0.9.0-2.20141007git6a28c29b.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Product Security DevOps Team 2019-06-08 02:35:08 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.