RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1957591 - [GUI] autocomplete attribute not set to "off" for password input field
Summary: [GUI] autocomplete attribute not set to "off" for password input field
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.9
Assignee: Tomas Jelinek
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-06 05:48 UTC by Reid Wahl
Modified: 2024-06-14 01:28 UTC (History)
9 users (show)

Fixed In Version: pcs-0.10.16-1.el8
Doc Type: Bug Fix
Doc Text:
Instruct web browsers not to remember passwords entered into pcsd web UI login form. Note that web browsers may ignore this setting.
Clone Of:
: 2174711 (view as bug list)
Environment:
Last Closed: 2023-11-14 15:22:35 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6605 0 None None None 2023-04-19 21:54:17 UTC
Red Hat Knowledge Base (Solution) 6020741 0 None None None 2021-05-06 05:57:34 UTC
Red Hat Product Errata RHBA-2023:6903 0 None None None 2023-11-14 15:23:35 UTC

Description Reid Wahl 2021-05-06 05:48:28 UTC
Description of problem:

The following text is from the reporting user:
~~~
Vulnerability Scanner has identified Vulnerability titled:AutoComplete Attribute Not Disabled for Password in Form Based Authentication in Pacemaker PCSD. Detected on 2224 port which is pcsd port.

As per scanner recommendation "Contact the vendor to have the AutoComplete attribute disabled for the password field in all forms. The AutoComplete attribute should also be disabled for the user ID field.  

Developers can add the following attribute to the form or input element: autocomplete="off"

This attribute prevents the browser from prompting the user to save the populated form values for later reuse.

Most browsers no longer honor autocomplete="off" for password input fields. These browsers include Chrome, Firefox, Microsoft Edge, IE, Opera

However, there is still an ability to turn off autocomplete through the browser and that is recommended for a shared computing environment.

"Since the ability to turn autocomplete off for password inputs fields is controlled by the user it is highly recommended for application to enforce strong password rules.
~~~

More detail about the attribute here:
  - https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete

The practical risk that's present here seems very low. Nonetheless, this seems like a straightforward change if we decide to make it.

The reporter opened a case against RHEL 7.9. I'm opening this BZ against RHEL 8. We can clone if desired.

-----

Version-Release number of selected component (if applicable):

pcs-0.10.6-4.el8

-----

How reproducible:

Always

-----

Steps to Reproduce:

Trivial; check for autocomplete attribute on the password input of the authentication form in the pcsd web UI.

-----

Actual results:

`autocomplete="off"` attribute not present.

-----

Expected results:

`autocomplete="off"` attribute present.

Comment 1 Reid Wahl 2021-05-06 05:50:41 UTC
The reporter stated that there is no CVE associated with this vulnerability scan result.

Comment 2 Huzaifa S. Sidhpurwala 2021-05-24 04:28:24 UTC
Really looks like security hardening to me, and that too borderline. So this is not a security flaw, hence no CVE

Comment 3 Tomas Jelinek 2023-03-02 09:31:56 UTC
Upstream patch:
https://github.com/ClusterLabs/pcs/commit/65571b8f455ac9133c7271ee6deefd484cb5dabe

Test / reproducer in comment 0.

Comment 8 Michal Pospisil 2023-05-29 10:09:41 UTC
DevTestResults:

<tr>
  <td style="text-align:right;">Password:</td>
  <td><input type="password" name="password" autocomplete="off"></td>
</tr>

The password field contains the autocomplete attribute.

Comment 15 errata-xmlrpc 2023-11-14 15:22:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (pcs bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6903


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