#5153 non-printable characters aren't check in every case of user data
Closed: wontfix 5 years ago by rcritten. Opened 8 years ago by alich.

We might need more string checks for non-printable characters (same issue with \177 - DEL).
VERSION: 4.2.90.201507201402GIT37b1af9, API_VERSION: 2.146

-sh-4.3$ ipa vault-mod PrivateVault --setattr "Description=$(for i in $(seq 1 1 15); do printf '\10'; done; printf 'I decided to have no description \"title\" in my vault...')"
-----------------------------
Modified vault "PrivateVault"
-----------------------------
  Vault name: PrivateVault
I decided to have no description "title" in my vault...
  Type: standard
  Owner users: testuser
-sh-4.3$ ipa vault-show PrivateVault
  Vault name: PrivateVault
I decided to have no description "title" in my vault...
  Type: standard
  Owner users: testuser
root$ ipa user-add --first=John --last="$(printf '\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10-\40Doe\40-')" testABC
--------------------
Added user "testabc"
--------------------
  User login: testabc
  First name: John
- Doe -name: 
  - Doe -me: John 
  Dis- Doe -me: John 
  Initials: J
  Home directory: /home/testabc
- Doe -: John 
  Login shell: /bin/sh
  Kerberos principal: testabc@EXAMPLE.COM
  Email address: testabc@example.com
  UID: 1025000006
  GID: 1025000006
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False

root$ ipa user-show testABC
  User login: testabc
  First name: John
- Doe -name: 
  Home directory: /home/testabc
  Login shell: /bin/sh
  Email address: testabc@example.com
  UID: 1025000006
  GID: 1025000006
  Account disabled: False
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False

Metadata Update from @alich:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5 backlog

7 years ago

Thank you taking time to submit this request for FreeIPA. Unfortunately this bug was not given priority and the team lacks the capacity to work on it at this time.

Given that we are unable to fulfil this request I am closing the issue as wontfix. To request re-consideration of this decision please reopen this issue and provide additional technical details about its importance to you.

Metadata Update from @rcritten:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata