Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-424

VNC client segfaults if provided password is incorrect

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.13-incubating
    • Fix Version/s: 1.0.0
    • Component/s: guacamole-server
    • Labels:
      None
    • Environment:

      Description

      Everything works ok with connections which match the remote vnc password of the TightVNC server.

      The issue happens when there is a connection in guacmole-client which does not match the remote VNC password of the TightVNC. When I attempt to connect over this connection, the guacd failed with segfault.

      Here are guacd logs from the issue:

      Oct 13 16:15:01 ip-172-31-18-56 guacd[13924]: VNC server supports protocol version 3.8 (viewer 3.8)
      Oct 13 16:15:01 ip-172-31-18-56 guacd[13924]: We have 1 security types to read
      Oct 13 16:15:01 ip-172-31-18-56 guacd[13924]: 0) Received security type 2
      Oct 13 16:15:01 ip-172-31-18-56 guacd[13924]: Selecting security type 2 (0/1 in the list)
      Oct 13 16:15:01 ip-172-31-18-56 guacd[13924]: Selected Security Scheme 2
      Oct 13 16:15:01 ip-172-31-18-56 guacd[13924]: VNC connection failed: password check failed!
      Oct 13 16:15:01 ip-172-31-18-56 guacd[13924]: Unable to connect to VNC server.
      Oct 13 16:15:02 ip-172-31-18-56 guacd[13730]: User is not responding.
      Oct 13 16:15:02 ip-172-31-18-56 kernel: [81568.417106] guacd[13733]: segfault at 10 ip 00007f54edf56e62 sp 00007f54a37fdd50 error 4 in libguac-client-vnc.so.0.0.0[7f54edf4e000+13000]
      Oct 13 16:15:02 ip-172-31-18-56 guacd[5325]: Connection "$ee148c21-83b7-4e70-9051-c29b51a06c56" removed.
      Oct 13 16:15:03 ip-172-31-18-56 guacd[13744]: User is not responding.
      Oct 13 16:15:03 ip-172-31-18-56 kernel: [81569.081782] guacd[13747]: segfault at 10 ip 00007f54edf56e62 sp 00007f54df7fdd50 error 4 in libguac-client-vnc.so.0.0.0[7f54edf4e000+13000]
      Oct 13 16:15:03 ip-172-31-18-56 guacd[5325]: Connection "$423ac38c-9dfe-4100-b2c6-bf83669aa76a" removed.
      Oct 13 16:15:04 ip-172-31-18-56 guacd[13762]: User is not responding.
      Oct 13 16:15:04 ip-172-31-18-56 kernel: [81569.985579] guacd[13765]: segfault at 10 ip 00007f54dc5ece62 sp 00007f54ed960d50 error 4 in libguac-client-v
      

        Attachments

        1. failed_catalina.txt
          4 kB
          Ivaylo Petkov Tsankov
        2. failed_syslog.txt
          5 kB
          Ivaylo Petkov Tsankov
        3. Screenshot from 2017-10-25 12-34-19.png
          58 kB
          Ivaylo Petkov Tsankov
        4. Screenshot from 2017-10-25 12-34-22.png
          108 kB
          Ivaylo Petkov Tsankov
        5. working_catalina.txt
          1 kB
          Ivaylo Petkov Tsankov
        6. working_syslog.txt
          3 kB
          Ivaylo Petkov Tsankov

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                itsankoff Ivaylo Petkov Tsankov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: