Bug 803646 - Password is visible on gnome-terminal with ibus enabled
Summary: Password is visible on gnome-terminal with ibus enabled
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-15 10:51 UTC by Ani Peter
Modified: 2018-07-23 09:35 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-23 09:35:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Password being displayed on terminal (37.93 KB, image/png)
2012-03-15 10:51 UTC, Ani Peter
no flags Details
Password visible on terminal (46.40 KB, image/png)
2018-07-23 07:13 UTC, Pooja Yadav
no flags Details

Description Ani Peter 2012-03-15 10:51:49 UTC
Created attachment 570253 [details]
Password being displayed on terminal

Description of problem:
With English-typing-booster enabled on gnome-terminal, while using su- command, password appears in the text.


Version-Release number of selected component (if applicable):
english-typing-booster-0.0.2-1.fc17

How reproducible:
Always

Steps to Reproduce:
1. Enable English-typing-booster
2. Go to terminal
3. Try to become root with su-
4. Type your password
  
Actual results:
Perform above steps, you can see the password is shown on the screen.

Expected results:
Password must not be shown.

Additional info:

Comment 1 Niels de Vos 2012-03-16 10:40:46 UTC
english-typing-booster should probably check the flags of the tty.

For example:

1) write something on the terminal
$ echo hello world

2) disable echo'ing
$ stty -echo

3) write something again
$ echo hello world

4) enable echo'ing
$ stty echo

5) write something again
$ echo hello world

My terminal shows (including input):
[ndevos@ndevos-laptop ~]$ echo hello world
hello world
[ndevos@ndevos-laptop ~]$ stty -echo
[ndevos@ndevos-laptop ~]$ hello world
[ndevos@ndevos-laptop ~]$ [ndevos@ndevos-laptop ~]$ echo hello world
hello world
[ndevos@ndevos-laptop ~]$ 

I am not sure if gnome-terminal offers a way to check the flags in a terminal, but you will probably want to have this functionality for any terminal emulator.

Comment 2 birger 2013-05-24 08:59:46 UTC
Same in Fedora 19. I just created a new user, and this 'feature' is on by default. It shows the passwords in cleartext while typing not only in termnal windows, but also in the gnome screen lock, the pop-up that asks for admin password, etc. A major security problem. I think severity should at least 'high' for this one!

Comment 3 Fedora End Of Life 2013-07-03 19:43:10 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Mike FABIAN 2013-07-11 07:01:52 UTC
That is not really specific to ibus-typing-booster.

The preëdit of *any* input method is visible when typing passwords
in terminals after something like “su -”.

Comment 5 Fedora End Of Life 2015-01-09 17:04:19 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Jan Kurik 2015-07-15 15:10:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 7 Satyabrata Maitra 2016-05-30 07:22:11 UTC
This bug still persists in Fedora24 latest version.

Password is showing in the cleartext with typing-booster (select English - IN (Hunspell) as Input Method in gnome-control-center --> Region and Language

Version of the component tested : ibus-typing-booster-1.3.1-1.fc24

Comment 9 Fedora End Of Life 2017-07-25 18:30:00 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 10 Jan Kurik 2017-08-15 08:13:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 11 Pooja Yadav 2018-07-23 07:13:11 UTC
Created attachment 1469890 [details]
Password visible on terminal

Comment 12 Pooja Yadav 2018-07-23 07:14:22 UTC
This bug still present in Fedora-28.
Password is visible if ibus-typing-booster is enabled.
Refer attachment in above comment.

Version used for testing: ibus-typing-booster-1.5.36-1.fc28.noarch

Comment 13 Mike FABIAN 2018-07-23 09:35:13 UTC
(In reply to Pooja Yadav from comment #12)
> This bug still present in Fedora-28.
> Password is visible if ibus-typing-booster is enabled.
> Refer attachment in above comment.
> 
> Version used for testing: ibus-typing-booster-1.5.36-1.fc28.noarch

See comment#4:

https://bugzilla.redhat.com/show_bug.cgi?id=803646#c4

*All* input have this problem in terminals, not only ibus-typing-booster.
That is because there is no way for an input method to find out whether
the terminal is excpecting a password. The terminal does
not set any hints the input method could use and the input method
has no way to get the text which is currently displayed in the terminal
because terminals don’t support surrounding text. 

I.e. there is no way to fix this in an ibus-input-method.


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