Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1130538 - (CVE-2012-6655) CVE-2012-6655 accountsservice: local encrypted password disclosure when changing password
CVE-2012-6655 accountsservice: local encrypted password disclosure when chang...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20120917,reported=2...
: Security
Depends On: 1130543
Blocks: 864524
  Show dependency treegraph
 
Reported: 2014-08-15 09:41 EDT by Vincent Danen
Modified: 2015-08-22 11:06 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-22 11:06:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2014-08-15 09:41:59 EDT
It was reported [1] that accountsservice invokes usermod with the -p parameter when calling SetPassword(), which can leak encrypted passwords locally (being that they are briefly visible via ps).

As noted in the upstream bug:

The relevant code is in src/user.c in the user_change_password_authorized_cb() function:

        argv[0] = "/usr/sbin/usermod";
        argv[1] = "-p";
        argv[2] = strings[0];
        argv[3] = "--";
        argv[4] = user->user_name;
        argv[5] = NULL;

strings[0] has been set to the crypted password in user_set_password(). The crypted password has been passed from the client (ie: gnome-control-center).

This has not yet been corrected upstream.


[1] https://bugs.freedesktop.org/show_bug.cgi?id=55000
Comment 1 Vincent Danen 2014-08-15 09:46:57 EDT
Created accountsservice tracking bugs for this issue:

Affects: fedora-all [bug 1130543]
Comment 2 Vincent Danen 2014-08-16 13:41:24 EDT
This was assigned CVE-2012-6655:

http://openwall.com/lists/oss-security/2014/08/16/7

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