Vulnerabilities > CVE-2007-3033 - Cross-Site Scripting vulnerability in Microsoft Windows Vista
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
NONE Integrity impact
PARTIAL Availability impact
NONE Summary
Cross-site scripting (XSS) vulnerability in Windows Vista Feed Headlines Gadget (aka Sidebar RSS Feeds Gadget) in Windows Vista allows user-assisted remote attackers to execute arbitrary code via an RSS feed with crafted HTML attributes, which are not properly removed and are rendered in the local zone.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 2 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Embedding Scripts in Non-Script Elements This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
- Embedding Scripts within Scripts An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
- Cross-Site Scripting in Error Pages An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
- Cross-Site Scripting Using Alternate Syntax The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS07-048.NASL |
description | The remote version of Microsoft Windows is missing a critical security update that fixes several vulnerabilities in the Desktop Gadgets. An attacker may exploit these flaws to execute arbitrary code on the remote host. To exploit this flaw, an attacker would need to lure the user into adding a malicious RSS feed or mail contact or using a malicious weather link. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 25901 |
published | 2007-08-16 |
reporter | This script is Copyright (C) 2007-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/25901 |
title | MS07-048: Vulnerabilities in Windows Gadgets Could Allow Remote Code Execution (938123) |
code |
|
Oval
accepted | 2014-08-18T04:02:11.834-04:00 | ||||||||||||
class | vulnerability | ||||||||||||
contributors |
| ||||||||||||
definition_extensions |
| ||||||||||||
description | Cross-site scripting (XSS) vulnerability in Windows Vista Feed Headlines Gadget (aka Sidebar RSS Feeds Gadget) in Windows Vista allows user-assisted remote attackers to execute arbitrary code via an RSS feed with crafted HTML attributes, which are not properly removed and are rendered in the local zone. | ||||||||||||
family | windows | ||||||||||||
id | oval:org.mitre.oval:def:2152 | ||||||||||||
status | accepted | ||||||||||||
submitted | 2007-09-06T09:46:06 | ||||||||||||
title | Vulnerability in Feed Headline Gadget. | ||||||||||||
version | 25 |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 25287 CVE(CAN) ID: CVE-2007-3033 Vista是微软发布的最新的操作系统。 Vista侧栏中的RSS源小工具中存在漏洞,远程攻击者可能利用此漏洞导致跨站脚本执行。 在解析RSS源中的某些单元时,可能会渲染单元中特制的HTML标签,导致注入JavaScript脚本。由于RSS源小工具是在本地区域中运行的,因此所注入的脚本可以获得对系统的完全访问。 Microsoft Windows Vista 临时解决方法: * 卸载或禁用源标题小工具 * 在“组策略”或注册表中禁用侧栏 * 修改gadget.xml上的访问控制列表以增加限制: 1. 依次单击“开始”、“所有程序”、“附件”,右键单击“命令提示符”,选择“以管理员身份运行”,然后单击“继续”。 2. 在命令提示符处键入以下命令: cd %ProgramFiles%\Windows Sidebar\Gadgets\RSSFeeds.Gadget\en-US 3. 在命令提示符处键入以下命令。记下文件上的当前ACL(包括继承设置),以便将来撤消此修改时作为参考: takeown /f gadget.xml 4. 在命令提示符处键入以下命令以调用源标题小工具的ACL。 记下文件上的当前ACL(包括继承设置),以便将来撤消此修改时作为参考: cacls gadget.xml /deny Everyone:(R,RX) 5. 应用此临时解决方案后,必须注销系统或关闭sidebar.exe进程。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS07-048)以及相应补丁: MS07-048:Vulnerabilities in Windows Gadgets Could Allow Remote Code Execution (938123) 链接:<a href="http://www.microsoft.com/technet/security/Bulletin/MS07-048.mspx?pf=true" target="_blank">http://www.microsoft.com/technet/security/Bulletin/MS07-048.mspx?pf=true</a> 补丁下载: <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=49a5bd84-da71-4529-b4d3-ac57dab59e01" target="_blank">http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=49a5bd84-da71-4529-b4d3-ac57dab59e01</a> <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=24443f59-b908-480b-9b72-7094d4b5e128" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyId=24443f59-b908-480b-9b72-7094d4b5e128</a> |
id | SSV:2125 |
last seen | 2017-11-19 |
modified | 2007-08-17 |
published | 2007-08-17 |
reporter | Root |
title | Microsoft Vista侧栏RSS源小工具跨站脚本漏洞(MS07-048) |
References
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=575
- http://secunia.com/advisories/26439
- http://www.kb.cert.org/vuls/id/558648
- http://www.securityfocus.com/bid/25287
- http://www.securitytracker.com/id?1018566
- http://www.us-cert.gov/cas/techalerts/TA07-226A.html
- http://www.vupen.com/english/advisories/2007/2872
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-048
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2152