Bug 1952168 - proftpd: might allow logins to accounts without password due to PAM configuration
Summary: proftpd: might allow logins to accounts without password due to PAM configura...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1952169 1952170
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-21 16:35 UTC by Michael Kaplan
Modified: 2021-04-21 16:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-04-21 16:46:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-04-21 16:35:25 UTC
In default configuration, proftpd authenticates against PAM using the "proftpd" config.
This config basically includes the "password-auth" rules, which contain
 
  `auth  sufficient  pam_unix.so nullok try_first_pass`

Thus, users with a deleted password can authenticate via FTP by providing nothing or a random string as a password - you can type whatever you want as a password, it will get accepted and you will be logged in with the identity of the existing user name you provided.

Comment 1 Michael Kaplan 2021-04-21 16:35:29 UTC
External References:

https://bugzilla.redhat.com/show_bug.cgi?id=1952104

Comment 2 Michael Kaplan 2021-04-21 16:35:45 UTC
Created proftpd tracking bugs for this issue:

Affects: epel-all [bug 1952170]
Affects: fedora-all [bug 1952169]

Comment 3 Product Security DevOps Team 2021-04-21 16:46:44 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.


Note You need to log in before you can comment on or make changes to this bug.