CUPS kerberos参数跨站脚本漏洞

来源:岁月联盟 编辑:zhuzhu 时间:2009-11-22
CUPS kerberos参数跨站脚本漏洞 影响版本:
Easy Software Products CUPS 1.4.x
Easy Software Products CUPS 1.3.x漏洞描述:
BUGTRAQ  ID: 36958
CVE ID: CVE-2009-2820

Common Unix Printing System(CUPS)是一款通用Unix打印系统,是Unix环境下的跨平台打印解决方案,基于Internet打印协议,提供大多数PostScript和raster打印机服务。

CUPS没有正确地处理HTTP头和HTML模板,远程安全者可以通过产品的web界面、打印系统的配置和打印任务的标题提交恶意kerberos参数,执行跨站脚本或HTTP响应拆分安全。<*参考 
http://www.cups.org/str.php?L3367
http://sunsolve.sun.com/search/document.do?assetkey=1-66-271169-1
*>
测试方法:

本站提供程序(方法)可能带有安全性,仅供安全研究与教学之用,风险自负!http://127.0.0.1:631/admin/?kerberos=onmouseover=alert(1)&kerberosSEBUG安全建议:
厂商补丁:

Easy Software Products
----------------------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

http://www.cups.org/strfiles/3367/security-1.4v2.patch
http://www.cups.org/strfiles/3367/security-1.3v2.patch

Sun
---
Sun已经为此发布了一个安全公告(Sun-Alert-6893187)以及相应补丁:
Sun-Alert-6893187:Multiple Security Vulnerabilities in the Common Unix Printing System (CUPS) Web Interface in OpenSolaris May Lead to Cross-Site Scripting (XSS) and HTTP Response Splitting Attacks
链接:http://sunsolve.sun.com/search/document.do?assetkey=1-66-271169-1