Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
Dreamweaver Help / 

Security issue and patch for Dreamweaver/DRK server behaviors

Adobe Community Help


Products Affected

  • Dreamweaver

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

Issue

Recently, Macromedia became aware of a security issue with some of the server behaviors present in Dreamweaver MX, all versions of UltraDev, and two extensions that shipped as part of the Developers Resource Kit (DRK), vol. 2 and vol. 4. If exploited, it is possible for an attacker to gain access to certain site-specific cookie and session information.

To the top

Reason

Cross-site scripting, known as XSS, is gaining popularity as a way to capture sensitive user data from a client's browser. XSS attacks are unique in that they occur completely on the client. The attacker injects JavaScript into the web page via a URL parameter. The browser then executes this code as if it was intended by the original author.

Server behaviors which use a redirect of a URL via a variable passed to the page are susceptible.

In Dreamweaver MX the following server behaviors use this mechanism and are affected:

  • ASP JS & VB:
    • Login User, Insert Record, Update Record, Delete Record
  • PHP:
    • MoveTo behaviors, Insert, Update, Logout
  • JSP:
    • MoveTo behaviors, Goto detail or related page, Insert, Update, Delete, Login user
  • ColdFusion (Dreamweaver MX code):
    • MoveTo behaviors, Login user
  • ColdFusion (Dreamweaver UltraDev 4 code):
    • MoveTo behaviors, Goto detail or related page, Insert, Update, Delete, Login user

Users of the following DRK extensions are also affected:

  • DRK vol 2:
    • PHP User Authentication Behaviors and Master-Detail Page extensions
  • DRK vol 4:
    • Simple Search extension
To the top

Solution

Patches to Dreamweaver MX and these DRK extensions fix this issue. Developers with sites that use these behaviors should download the applicable updates and install them to Dreamweaver MX.

Download the necessary extension(s)

Users should download all of the extensions that are pertinent. For example, if developer have used both the standard Dreamweaver Insert server behavior and the Master Detail Page php extension from the DRK vol. 2, then they should download and install both extensions. The following patches are available:

  • Dreamweaver MX:
    • Download this updater ( dwmx_xss.mxp ) if using Dreamweaver MX and server behaviors mentioned above.
  • Master Detail Page PHP DRK extension:
    • Download this updater ( masterdetailphp_xss.mxp ) if using the PHP Master Detail Page extension available in the DRK, vol. 2.
  • PHP User Authentication DRK extension:
    • Download this updater ( phpua_xss.mxp ) if using the PHP User Authentication behaviors available from the DRK, vol. 2.
  • Simple Search DRK extension:
    • Download this updater ( simplesearch_xss.mxp ) if using the Simple Search extension available from the DRK, vol. 4.

Install the extension(s)

  1. After downloading the extensions, launch Macromedia Extension Manager and install the each extension (File > Install Extension).
  2. Restart Dreamweaver to make the changes take effect.

Reapply the behaviors

Once you have installed the extensions, reapply the updated server behaviors to those pages which used the affected server behaviors by deleting the existing server behaviors and inserting the new ones on your pages . Redeploy these pages.

If you are using Java 1.0, and are using the MoveTo behaviors, Goto detail or related page, Insert, Update, Delete, or Login user, you will need to replace the fix inserted by the above patch. For example, if you have a page that includes the Insert, Update, or Delete server behaviors and have applied the above patch:

  • Search for this code in your page:
queryString = queryString.replaceAll("<","&lt;"); queryString = queryString.replaceAll(">","&gt;"); queryString = queryString.replaceAll("\"","&quot;"); MM_editAction += "?" + queryString;
  • And replace it with this code:
String tempStr = ""; for (int i=0; i < queryString.length(); i++) { if (queryString.charAt(i) == '<') tempStr = tempStr + "&lt;"; else if (queryString.charAt(i) == '>') tempStr = tempStr + "&gt;"; else if (queryString.charAt(i) == '"') tempStr = tempStr +  """; else tempStr = tempStr + queryString.charAt(i); } MM_editAction += "?" + tempStr;

You'll need to perform a similar search and replace operation in your pages that include the other affected server behaviors with the applied patch. However, note that the variables ˜queryString' and ˜MM_editAction' used in the above example, will be different for the other affected server behaviors.

Additional information

For concerns or questions about this document please email:DWMPSB0305@macromedia.com .









Keywords: tn_18838

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement