Qt UTF-8 cross-site scripting
| qt-utf8-xss (33397) |
Description:
Qt could allow a remote attacker to bypass security restrictions and perform cross-site scripting attacks, caused by the improper handling of the UTF-8 decoder. A remote attacker could exploit this vulnerability using overly long UTF-8 character sequences to execute arbitrary script in a victim's browser within the security context of the affected Web site, allowing the attacker to steal the victim's cookie-based authentication credentials.
Platforms Affected:
- Avaya, Intuity Audix LX 2.0
- Avaya, Message Networking 3.1
- Avaya, Message Storage Server 3.0
- Canonical, Ubuntu 5.10
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Debian, Debian Linux 4.0
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux 5 Server
- RedHat, Enterprise Linux 5 Client Workstation
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux Desktop 5.0
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Trolltech, Qt 3.3.8
- Trolltech, Qt 4.2.3
- Turbolinux, Turbolinux 10 Desktop
- Turbolinux, Turbolinux 10 F...
- Turbolinux, Turbolinux 10 Server
- Turbolinux, Turbolinux 10 Server x64 Ed
- Turbolinux, Turbolinux FUJI
- Turbolinux, Turbolinux Home
- Turbolinux, Turbolinux Multimedia
- Turbolinux, Turbolinux Personal
- Turbolinux, Turbolinux wizpy
Remedy:
Refer to Trolltech News & Events Announcement 2007-03-30.9172215350 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (kdelibs):
Refer to MDKSA-2007:076 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (qt3):
Refer to MDKSA-2007:074 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (qt4):
Refer to MDKSA-2007:075 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu (kdelibs, qt-x11-free):
Refer to USN-452-1 for patch, upgrade, or suggested workaround information. See References.
For Debian GNU/Linux (qt4-x11):
Refer to DSA-1292-1 for patch, upgrade, or suggested workaround information. See References.
For Turbolinux (kdelibs):
Refer to TLSA-2007-28 for patch, upgrade, or suggested workaround information. See References.
For Turbolinux (qt3):
Refer to TLSA-2007-30 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux (qt):
Refer to RHSA-2007:0883-2 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- Trolltech News & Events Announcement 2007-03-30.9172215350, Trolltech Releases Patch for Qt 3.3.8 and 4.2.3, Adressing UTF-8 Security Issue at http://www.trolltech.com/company/newsroom/announcements/press.2007-03-30.9172215350.
- ASA-2007-424: Qt security update (RHSA-2007-0883)
- BID-23269: Trolltech Qt UTF-8 Sequences Input Validation Vulnerability
- CVE-2007-0242: The UTF-8 decoder in codecs/qutfcodec.cpp in Qt 3.3.8 and 4.2.3 does not reject long UTF-8 sequences as required by the standard, which allows remote attackers to conduct cross-site scripting (XSS) and directory traversal attacks via long sequences that decode to dangerous metacharacters.
- DSA-1292: qt4-x11 -- missing input validation
- FrSIRT/ADV-2007-1212: Trolltech Qt QString::fromUtf8() Sequence Decoding Security Bypass Vulnerability
- MDKSA-2007:074: Updated qt3 packages to address utf8 decoder bug
- MDKSA-2007:075: Updated qt4 packages to address utf8 decoder bug
- MDKSA-2007:075-1: Updated qt4 packages to address utf8 decoder bug
- MDKSA-2007:076: Updated kdelibs packages to address UTF8 issue in KJS
- RHSA-2007-0883: Important: qt security update
- RHSA-2007-0909: Moderate: kdelibs security update
- SA24727: Qt Overlong UTF-8 Sequence Cross-Site Scripting Vulnerability
- SA27275: Avaya Products Qt Overlong UTF-8 Sequence Cross-Site Scripting
- SUSE-SR:2007:006: SUSE Security Summary Report
Reported:
Apr 03, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
