CVE-2004-1036
CVSS6.8
发布时间 :2005-03-01 00:00:00
修订时间 :2016-10-17 22:50:52
NMCOS    

[原文]Cross-site scripting (XSS) vulnerability in the decoding of encoded text in certain headers in mime.php for SquirrelMail 1.4.3a and earlier, and 1.5.1-cvs before 23rd October 2004, allows remote attackers to execute arbitrary web script or HTML.


[CNNVD]SquirrelMail 'mime.php' 跨站脚本攻击漏洞(CNNVD-200503-003)

        SquirrelMail是一款流行的基于WEB的邮件服务程序。
        SquirrelMail存在多个安全问题,远程攻击者可以利用这些漏洞包含任意文件,进行跨站脚本等攻击。
        1、远程文件包含:
        Manoel Zaninetti包含'src/webmail.php'脚本允许构建恶意URL包含远程WEB页面,此CVE ID为CAN-2005-0103。
        2、远程跨站脚本问题
        当register_globals以ON设置运行时'src/webmail.php'脚本存在跨站脚本问题,此漏洞CVE ID为CAN-2005-0104。
        另外一个问题也允许远程用户发送特殊构建的头,当浏览器浏览时可导致在浏览器中执行脚本,在1.4.4-RC1中已经修复。此漏洞CVE ID为CAN-2004-1036。
        3、本地文件包含漏洞
        可定义偏爱处理程序中存在一个本地文件包含问题,此漏洞只要当register_globals设置为ON时才存在。

- CVSS (基础分值)

CVSS分值: 6.8 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

cpe:/a:squirrelmail:squirrelmail:1.2.9
cpe:/o:gentoo:linuxGentoo Linux
cpe:/a:squirrelmail:squirrelmail:1.4.3_rc1
cpe:/a:squirrelmail:squirrelmail:1.2.5
cpe:/a:squirrelmail:squirrelmail:1.4.3
cpe:/a:squirrelmail:squirrelmail:1.2.6
cpe:/a:squirrelmail:squirrelmail:1.2.7
cpe:/a:squirrelmail:squirrelmail:1.2.8
cpe:/a:squirrelmail:squirrelmail:1.2.10
cpe:/a:squirrelmail:squirrelmail:1.2.11
cpe:/a:squirrelmail:squirrelmail:1.4
cpe:/a:squirrelmail:squirrelmail:1.2
cpe:/a:squirrelmail:squirrelmail:1.2.1
cpe:/a:squirrelmail:squirrelmail:1.0.4
cpe:/a:squirrelmail:squirrelmail:1.2.2
cpe:/a:squirrelmail:squirrelmail:1.0.5
cpe:/a:squirrelmail:squirrelmail:1.2.3
cpe:/a:squirrelmail:squirrelmail:1.4.1
cpe:/a:squirrelmail:squirrelmail:1.5_dev
cpe:/a:squirrelmail:squirrelmail:1.2.4
cpe:/a:squirrelmail:squirrelmail:1.4.2
cpe:/a:squirrelmail:squirrelmail:1.4.3a

- OVAL (用于检测的技术细节)

oval:org.mitre.oval:def:9592Cross-site scripting (XSS) vulnerability in the decoding of encoded text in certain headers in mime.php for SquirrelMail 1.4.3a and earlier,...
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1036
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2004-1036
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200503-003
(官方数据源) CNNVD

- 其它链接及资源

http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000905
(UNKNOWN)  CONECTIVA  CLA-2004:905
http://lists.apple.com/archives/security-announce/2005/Jan/msg00001.html
(VENDOR_ADVISORY)  APPLE  APPLE-SA-2005-01-25
http://lists.apple.com/archives/security-announce/2005/Mar/msg00000.html
(VENDOR_ADVISORY)  APPLE  APPLE-SA-2005-03-21
http://marc.info/?l=bugtraq&m=110012133608004&w=2
(UNKNOWN)  BUGTRAQ  20041110 [SquirrelMail Security Advisory] Cross Site Scripting in encoded text
http://voxel.dl.sourceforge.net/sourceforge/squirrelmail/sm143a-xss.diff
(UNKNOWN)  CONFIRM  http://voxel.dl.sourceforge.net/sourceforge/squirrelmail/sm143a-xss.diff
http://www.gentoo.org/security/en/glsa/glsa-200411-25.xml
(VENDOR_ADVISORY)  GENTOO  GLSA-200411-25
http://www.squirrelmail.org/
(UNKNOWN)  CONFIRM  http://www.squirrelmail.org/
http://xforce.iss.net/xforce/xfdb/18031
(UNKNOWN)  XF  squirrelmail-mime-xss(18031)

- 漏洞信息

SquirrelMail 'mime.php' 跨站脚本攻击漏洞
中危 跨站脚本
2005-03-01 00:00:00 2007-01-02 00:00:00
远程  
        SquirrelMail是一款流行的基于WEB的邮件服务程序。
        SquirrelMail存在多个安全问题,远程攻击者可以利用这些漏洞包含任意文件,进行跨站脚本等攻击。
        1、远程文件包含:
        Manoel Zaninetti包含'src/webmail.php'脚本允许构建恶意URL包含远程WEB页面,此CVE ID为CAN-2005-0103。
        2、远程跨站脚本问题
        当register_globals以ON设置运行时'src/webmail.php'脚本存在跨站脚本问题,此漏洞CVE ID为CAN-2005-0104。
        另外一个问题也允许远程用户发送特殊构建的头,当浏览器浏览时可导致在浏览器中执行脚本,在1.4.4-RC1中已经修复。此漏洞CVE ID为CAN-2004-1036。
        3、本地文件包含漏洞
        可定义偏爱处理程序中存在一个本地文件包含问题,此漏洞只要当register_globals设置为ON时才存在。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        http://www.squirrelmail.org/download.php?PHPSESSID=8e03a7fc46911de66708fc2eefa26fe1

- 漏洞信息

11603
SquirrelMail mime.php Header Encoding (decodeHeader) XSS
Remote / Network Access Input Manipulation
Loss of Integrity

- 漏洞描述

SquirrelMail contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate user-supplied input to the decodeHeader() function in mime.php. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

- 时间线

2004-11-10 Unknow
Unknow Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, the SquirrelMail Project Team has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

- 漏洞信息

SquirrelMail decodeHeader HTML Injection Vulnerability
Input Validation Error 11653
Yes No
2004-11-10 12:00:00 2009-07-12 08:06:00
Joost Pol disclosed this vulnerability to the vendor.

- 受影响的程序版本

SquirrelMail SquirrelMail 1.5 Development Version
SquirrelMail SquirrelMail 1.4.8
SquirrelMail SquirrelMail 1.4.3 RC1
SquirrelMail SquirrelMail 1.4.3 a
+ Conectiva Linux 9.0
+ Red Hat Fedora Core3
+ Red Hat Fedora Core3
+ Red Hat Fedora Core3
+ Red Hat Fedora Core2
+ Red Hat Fedora Core2
SquirrelMail SquirrelMail 1.4.3
SquirrelMail SquirrelMail 1.4.2
+ MandrakeSoft Corporate Server 3.0 x86_64
+ MandrakeSoft Corporate Server 3.0
+ MandrakeSoft Corporate Server 3.0
+ MandrakeSoft Corporate Server 3.0
+ Red Hat Fedora Core2
+ Red Hat Fedora Core2
+ Red Hat Fedora Core2
SquirrelMail SquirrelMail 1.4.1
SquirrelMail SquirrelMail 1.4
SquirrelMail SquirrelMail 1.2.11
SquirrelMail SquirrelMail 1.2.10
SquirrelMail SquirrelMail 1.2.9
SquirrelMail SquirrelMail 1.2.8
+ Terra Soft Solutions Yellow Dog Linux 3.0
SquirrelMail SquirrelMail 1.2.7
+ RedHat Linux 8.0
SquirrelMail SquirrelMail 1.2.6
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Debian Linux 3.0
SquirrelMail SquirrelMail 1.2.5
SquirrelMail SquirrelMail 1.2.4
SquirrelMail SquirrelMail 1.2.3
SquirrelMail SquirrelMail 1.2.2
SquirrelMail SquirrelMail 1.2.1
SquirrelMail SquirrelMail 1.2 .0
SquirrelMail SquirrelMail 1.0.5
SquirrelMail SquirrelMail 1.0.4
SGI ProPack 3.0
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
S.u.S.E. Linux 8.1
S.u.S.E. Linux 8.0 i386
S.u.S.E. Linux 8.0
Gentoo Linux
Apple Mac OS X Server 10.3.7
Apple Mac OS X Server 10.3.6
Apple Mac OS X Server 10.3.5
Apple Mac OS X Server 10.3.4
Apple Mac OS X Server 10.3.3
Apple Mac OS X Server 10.3.2
Apple Mac OS X Server 10.3.1
Apple Mac OS X Server 10.3

- 漏洞讨论

SquirrelMail is reported to be prone to an email header HTML injection vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied email header strings.

An attacker can exploit this issue to gain access to an unsuspecting user's cookie based authentication credentials; disclosure of personal email is possible. Other attacks are also possible.

- 漏洞利用

An exploit is not required.

- 解决方案

The vendor has released a patch to correct this issue in version 1.4.3a of SquirrelMail. The patch may also apply to previous versions, but this has not been confirmed. A fix has been applied to CVS versions as of 23 October 2004.

SuSE Linux has released a security summary report (SUSE-SR:2005:002) that contains fixes to address this and other vulnerabilities. Customers are advised to peruse the referenced advisory for further information regarding obtaining and applying appropriate updates.

Gentoo Linux has released advisory GLSA 200411-25 dealing with this issue. Gentoo advises that all SquirrelMail users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-client/squirrelmail-1.4.3a-r2"

Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update. For more information please see the referenced Gentoo advisory.

Fedora has released advisories FEDORA-2004-471 and FEDORA-2004-472 for Fedora Core 2 and 3 respectively. Please see the attached advisories for details on obtaining and applying fixes.

Conectiva Linux has made advisory CLA-2004:905 available dealing with this issue. Please see the referenced advisory for more information.

SGI has released advisory 20050101-01-U to address various issues in SGI Advanced Linux Environment 3. This advisory includes updated SGI ProPack 3 Service Pack 3 packages. Please see the referenced advisory for more information.

Apple Computers has released advisory APPLE-SA-2005-01-25 along with a security update dealing with this and other issues. Please see the referenced advisory for more information.


SquirrelMail SquirrelMail 1.2.10

SquirrelMail SquirrelMail 1.2.7

SquirrelMail SquirrelMail 1.4.1

SquirrelMail SquirrelMail 1.4.2

SquirrelMail SquirrelMail 1.4.3 a

Apple Mac OS X Server 10.3.7

SGI ProPack 3.0

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站