[NEWS] IBM Net.Data Internal Variables Display Vulnerability
From: support@securiteam.com
Date: 01/05/03
- Previous message: support@securiteam.com: "[NEWS] DB2 on iSeries Stored Procedures Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Date: 6 Jan 2003 00:11:02 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
Beyond Security would like to welcome Tiscali World Online
to our service provider team.
For more info on their service offering IP-Secure,
please visit http://www.worldonline.co.za/services/work_ip.asp
- - - - - - - - -
IBM Net.Data Internal Variables Display Vulnerability
------------------------------------------------------------------------
SUMMARY
Net.Data is a full-featured and easy to learn scripting language that
allows you to create powerful Web applications. A security vulnerability
in the product allows attackers to view internal variables values, which
may disclose sensitive information such as pathnames, server names,
usernames and passwords.
DETAILS
A HTML form that accepts user input, and displays this input back to the
user, can be maliciously exploited by typing in the form the variable
name.
Some variables are predefined in Net.Data, and potentially damaging.
$(DTW_CURRENT_FILENAME) always contains the internal script name and full
path.
If the database server is different from the application server, then
$(DATABASE) , $(LOGIN), and $(PASSWORD) must be defined and contain the
connection parameters.
If the Net.Data script displays back the information passed to it, and an
attacker passes the string $(LOGIN) as the form content, the resulting
HTML will display the connection profile.
Other predefined variables may be found at:
<http://www-3.ibm.com/software/data/net.data/docs/noframes/db2rn/index.htm> http://www-3.ibm.com/software/data/net.data/docs/noframes/db2rn/index.htm (Language Environment Variables and Miscellaneous Variables).
The problem is not limited to predefined variables. Any variable can be
retrieved, if you know its name. This provides an interesting backdoor for
developers (and ex-developers..)
Workaround:
You cannot avoid showing internal variables, but you can reduce the risk
from the database connection exposure. Rewrite the Net.Data application so
all remote database access goes through local programs rather than
directly from the script.
Vendor's Response:
The bug has been posted on the Net.Data IBM managed forum, And on another
user forum, which is monitored by IBM. No response was received.
ADDITIONAL INFORMATION
The information has been provided by <mailto:shalom@venera.com> Shalom
Carmel.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Next message: support@securiteam.com: "[EXPL] OpenBSD and NetBSD LKM That Hides Files by Patching getdirentries()"
- Previous message: support@securiteam.com: "[NEWS] DB2 on iSeries Stored Procedures Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- SUMMARY WAS: OT? Philosophical Question on SA responsibilities
... helpful for managers interested in hiring new administrators. ... Would you
go thru the 14,600 messages in root and admin ... If I was a new SA I would if encountering
a security hole, ... I can see some use for the passwd -s part of the crontab script,
... (SunManagers) - Re: Clarification-Win2k Netstat sockets interpretation
... snip.. ... Before I could manually download every security upate and
servicepack from MS.com but now...they send you a bit of Cop-code that fails to run unless ALL defences
are down ... Are you sure the script from ntsvcfg is benign in addition to being useful?
... You are absolutely correct there HAL, er ah, Sebastian. ... (alt.computer.security) - [NT] Flaw in Windows Script Engine Could Allow Code Execution
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... The Windows Script Engine
provides Windows operating systems with the ... blocked by Outlook Express 6.0 and Outlook
2002 in their default ... (Securiteam) - Re: BUG with RES/SCRIPT/XP-SP2
... I consider JavaScript (known to security people as JavaVirus) as one of the Really
Top ... to have a bad script cause damage to my machine. ... This security feature
is called the "Local Machine Zone Lockdown". ... Tags, and the CDHtmlDialog class
in this forum, and got no response. ... (microsoft.public.vc.mfc) - BUG with RES/SCRIPT/XP-SP2
... This security feature is called the "Local Machine Zone Lockdown". ...
past week since I started posting problems with the RES Protocol, SCRIPT ... Tags, and
the CDHtmlDialog class in this forum, and got no response. ... (microsoft.public.vc.mfc)