IBM Net.Data Error Message Cross-Site Scripting Vulnerability
Secunia Advisory: SA10709
Release Date: 2004-01-26
Last Update: 2005-02-15
Popularity: 6,620 views

Critical:
Less critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Vendor Workaround

Software:IBM Net.Data 7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-1442


Description:
Secunia Research has identified a vulnerability in IBM Net.Data, which can be exploited by malicious people to conduct cross-site scripting attacks.

The db2www CGI component returns a "DTWP001E" error message to users when an invalid macro name is supplied. However, user input isn't sanitised before being included, which can be exploited to execute arbitrary HTML or script code in a user's browser session in the context of an affected site.

Other error messages may also be affected.

The vulnerability has been identified in versions 7 and 7.2.

Solution:
The vendor recommends that the "DTW_DEFAULT_ERROR_MESSAGE" feature (or "DTW_DEFAULT_MACRO" feature on zOS and iServer) is used to ensure that a web site reacts in a predictable manner when encountering problems.

Example:
In the Net.Data configuration file "db2www.ini", insert an entry such as:

DTW_DEFAULT_ERROR_MESSAGE <PRE>This Web Site is experiencing problems. Check back later. </PRE>

This will prevent various error messages from being returned to users.

Provided and/or discovered by:
Carsten Eiram, Secunia Research.

Changelog:
2004-03-09: Added link to US-CERT vulnerability note.
2005-02-15: Added CVE reference.

Original Advisory:
http://secunia.com/secunia_research/2004-1/

Other References:
CERT VU#197318:
http://www.kb.cert.org/vuls/id/197318


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB "gen_rand_string()" Predictable RNG Weakness // 89 views
2. Adobe Flash Player Multiple Vulnerabilities // 78 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 39 views
4. VLC Media Player Multiple Vulnerabilities // 35 views
5. IBM DB2 Multiple Vulnerabilities // 35 views
6. Microsoft Office Two Code Execution Vulnerabilities // 28 views
7. Microsoft Word Malformed Object Pointer Vulnerability // 27 views
8. libpng "png_push_read_zTXt()" Off-By-One Vulnerability // 27 views
9. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 27 views
10. Silentum LoginSys Multiple Cross-site Scripting Vulnerabilities // 25 views