SAP NetWeaver Nw04跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1190014 漏洞类型 跨站脚本
发布时间 2007-06-29 更新时间 2007-06-29
CVE编号 CVE-2007-3496 CNNVD-ID CNNVD-200706-529
漏洞平台 N/A CVSS评分 4.3
|漏洞来源
https://www.securityfocus.com/bid/81657
https://cxsecurity.com/issue/WLB-2007070005
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200706-529
|漏洞详情
SAPNetWeaverNw04中存在跨站脚本攻击漏洞。远程攻击者可以借助用户-代理HTTP的头部,注入任意的web脚本或HTML。
|漏洞EXP
#############################################################
#
# COMPASS SECURITY ADVISORY http://www.csnc.ch/ 
# 
#############################################################
#
# Product: NetWeaver, Web Dynpro Java (BC-WD-JAV) 
# Vendor:  SAP 
# Subject: Multiple XSS, HTML Injection
# Risk:    Medium
# Effect:  Remotely exploitable
# Author:  Cyrill Brunschwiler (cyrill.brunschwiler (at) csnc (dot) ch [email concealed])
# Date:    June, 17th 2007
#
#############################################################

Introduction:
-------------
Compass Security discovered a web application security flaw (XSS) in the
SAP Web Dynpro Java (BC-WD-JAV) running in either the testing or
development mode.

Vulnerable:
-----------
SAP NetWeaver Nw04 SP15 to SP 19
SAP NetWeaver Nw04s SP7 to SP 11

Not vulnerable:
---------------
Customers which run their system in production mode.

SAP Java Technology Services           640 SP20
SAP Web Dynpro Runtime Core Components 700 SP12

Vulnerability Management:
-------------------------
January 2007: Vulnerability found
January 2007: SAP Security notified
February 2007: SAP confirmation
April/May 2007: Patches available
June 2007: Compass Security Information

SAP Information Policy:
-------------------------
The information is available to registered SAP clients only (SAP
Security Notes)

Patches:
--------
Apply the latest Web Dynpro patch according to the related notes. (See
SAP Note No. 1045640, 946608).

Description
-----------
The NetWeaver Application includes the User-Agent-Header content in the
server response body without applying proper encoding. Exploiting the
vulnerability will require an attacker to spoof the User-Agent-Header.
Abusing technologies such as JavaScript or Flash will allow conducting
such an attack.

XSS Ref: http://en.wikipedia.org/wiki/Cross-site_scripting

Cross-site scripting (XSS) is a type of computer security vulnerability
typically found in web applications which allow code injection by
malicious web users into the web pages viewed by other users. Examples
of such code include HTML code and client-side scripts. An exploited
cross-site scripting vulnerability can be used by attackers to bypass
access controls such as the same origin policy. Recently,
vulnerabilities of this kind have been exploited to craft powerful
phishing attacks and browser exploits. Cross-site scripting was
originally referred to as CSS, although this usage has been largely
discontinued.
|受影响的产品
SAP Sap Basis Component 700 Sp11 SAP Sap Basis Component 640 Sp19 SAP Netweaver Nw04s Sp9 SAP Netweaver Nw04s SP8 SAP Netweaver Nw04s SP7 SAP Netweaver Nw04s Sp11
|参考资料

来源:BUGTRAQ
名称:20070627SAPWebDynproJava(BC-WD-JAV)Vulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/472341/100/0/threaded
来源:MISC
链接:http://www.csnc.ch/advisory/sap01.html
来源:OSVDB
名称:37748
链接:http://osvdb.org/37748
来源:VUPEN
名称:ADV-2007-2381
链接:http://www.frsirt.com/english/advisories/2007/2381
来源:SREASON
名称:2850
链接:http://securityreason.com/securityalert/2850
来源:SECUNIA
名称:25866
链接:http://secunia.com/advisories/25866