Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Oracle unauthenticated remote system compromise (#NISR16022003a)
"This electronic message contains information which may be confidential,
privileged or otherwise protected from disclosure. The information is
intended to be used solely by the named recipient(s). If you are not a
named recipient, any review, disclosure, copying, distribution or use
of this transmission or its contents is prohibited. If you have received
this transmission in error, please notify me immediately."
"NGSSoftware Insight Security Research" <nisr_at_nextgenss.com>
02/17/2003 02:09 PM
To: <bugtraq_at_securityfocus.com> cc: Subject: Oracle unauthenticated remote system compromise (#NISR16022003a)
NGSSoftware Insight Security Research Advisory
Name: Oracle unauthenticated remote system compromise
Systems Affected: All platforms; Oracle9i Database Release 2, 9i Release
1,
8i, 8.1.7, 8.0.6
Severity: Critical Risk
Category: Remote System Buffer Overrun
Vendor URL: http://www.oracle.com
Author: Mark Litchfield (mark_at_ngssoftware.com)
Date: 16th February 2003
Advisory number: #NISR16022003a
Description
Details
C:\ora9ias\BIN>loadpsp -name -user LONGUSERNAME/tiger_at_iasdb myfile
Fix Information
http://otn.oracle.com/deploy/security/pdf/2003alert51.pdf
NGSSoftware advise Oracle database customers to review and install the
patch
as a matter of urgency.
A check for these issues has been added to NGSSQuirreL for Oracle, a comprehensive automated vulnerability assessment tool for Oracle Database Servers of which more information is available from the NGSSite
http://www.ngssoftware.com/software/squirrelfororacle.html
It is further recommend that Oracle DBAs have their network/firewall administrators ensure that the database server is protected from Internet sourced traffic.
Further Information
http://www.ngssoftware.com/papers/non-stack-bo-windows.pdf http://www.ngssoftware.com/papers/ntbufferoverflow.html http://www.ngssoftware.com/papers/bufferoverflowpaper.rtf http://www.ngssoftware.com/papers/unicodebo.pdf
About NGSSoftware
http://www.ngssoftware.com/
http://www.ngsconsulting.com/
Telephone +44 208 401 0070
Fax +44 208 401 0076
enquiries_at_ngssoftware.com
"NGSSoftware Insight Security Research" <nisr_at_nextgenss.com>
02/17/2003 02:12 PM
To: <bugtraq_at_securityfocus.com> cc: Subject: Oracle TO_TIMESTAMP_TZ Remote System Buffer Overrun (#NISR16022003b)
NGSSoftware Insight Security Research Advisory
Name: Oracle TO_TIMESTAMP_TZ Remote System Buffer Overrun
Systems Affected: All platforms; Oracle9i Database Release 2, 9i Release
1,
8i, 8.1.7, 8.0.6
Severity: High Risk
Category: Remote System Buffer Overrun
Vendor URL: http://www.oracle.com
Author: Mark Litchfield (mark_at_ngssoftware.com)
Date: 16th February 2003
Advisory number: #NISR16022003b
Description
Details
SELECT TO_TIMESTAMP_TZ('2003-02-016 12:00:00 -8:00','YYYY-MM-DD HH:MI:SS
TZH:TZM') FROM DUAL;
By supplying a long character string for the second parameter an attacker
can overwirte a saved return address on the stack of Oracle process.
Before
this issue can be exploited an attacker must be able to log on to the
database server with a valid user ID and password, but as the
TO_TIMESTAMP_TZ() function can be executed by PUBLIC by default any user
of
the system can gain control. Any arbitrary code supplied by an attacker
would execute with the same privileges as the user running the service;
this
account is typically "Oracle" on linux/unix based platforms and Local
System
on Windows based operating systems such as NT/2000/XP. As such this allows
for a complete compromise of the data stored in the database and possibly
a
complete compromise of the operating system.
Fix Information
http://otn.oracle.com/deploy/security/pdf/2003alert50.pdf
A check for these issues has been added to NGSSQuirreL for Oracle, a comprehensive automated vulnerability assessment tool for Oracle Database Servers of which more information is available from the NGSSite
http://www.ngssoftware.com/software/squirrelfororacle.html
Further Information
http://www.ngssoftware.com/papers/non-stack-bo-windows.pdf http://www.ngssoftware.com/papers/ntbufferoverflow.html http://www.ngssoftware.com/papers/bufferoverflowpaper.rtf http://www.ngssoftware.com/papers/unicodebo.pdf
About NGSSoftware
http://www.ngssoftware.com/
http://www.ngsconsulting.com/
Telephone +44 208 401 0070
Fax +44 208 401 0076
enquiries_at_ngssoftware.com
"NGSSoftware Insight Security Research" <nisr_at_nextgenss.com>
02/17/2003 02:17 PM
To: <bugtraq_at_securityfocus.com> cc: Subject: Oracle9i Application Server Format String Vulnerability (#NISR16022003d)
NGSSoftware Insight Security Research Advisory
Name: Oracle9i Application Server Format String Vulnerability
Systems Affected: All platforms; Oracle9i Application Server Release
9.0.2
Severity: Critical Risk
Category: Format String Vulnerability
Vendor URL: http://www.oracle.com
Author: David Litchfield (david_at_ngssoftware) and Mark Litchfield
(mark_at_ngssoftware.com)
Date: 16th February 2003
Advisory number: #NISR16022003d
Description
Details
>From mod_dav.c revision 1.157
..
..
lookup = dav_lookup_uri(dest, r);
if (lookup.rnew == NULL)
{
if (lookup.err.status == HTTP_BAD_REQUEST) { ap_log_rerror(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, r,lookup.err.desc); return HTTP_BAD_REQUEST; } return dav_error_response(r, lookup.err.status, lookup.err.desc);}
This code calls the dav_lookup_uri() function in dav_util.c. From
dav_util.c
revision 1.84
..
dav_lookup_result dav_lookup_uri(const char *uri, request_rec * r)
{
..
..
if (strcasecmp(comp.scheme, scheme) != 0 || comp.port != port)
{
result.err.status = HTTP_BAD_GATEWAY; result.err.desc = ap_psprintf(r->pool, "Destination URI refers to different " "scheme or port (%s://hostname:%d)\n" "(want: %s://hostname:%d)", comp.scheme ? comp.scheme : scheme, comp.port ? comp.port : port, scheme, port); return result;
..
..
}
When dav_lookup_uri() returns to mod_dav.c the format strings occurs
..
lookup = dav_lookup_uri(dest, r);
if (lookup.rnew == NULL)
{
if (lookup.err.status == HTTP_BAD_REQUEST) { // THIS IS THE FIRST FORMAT STRING VULNERABILITY ap_log_rerror(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO,r,lookup.err.desc);
Of course the code should have read
ap_log_rerror(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, r,"%s",lookup.err.desc);
to not be vulnerable.
By crafting a specially formed format string and sending to the server an
attacker can overwrite arbitrary address with arbitrary values which can
allow an attacker to gain control of the web server. To do this they could
overwrite a saved return address on the stack, an exception handler or
pointer to a function with an address that points to a buffer that
contains
the arbitrary code to execute.
Fix Information
http://otn.oracle.com/deploy/security/pdf/2003alert52.pdf
A check for these issues has been added to OraScan, a comprehensive automated vulnerability assessment tool for Oracle Application Servers of which more information is available from the NGSSite
http://www.nextgenss.com/software/orascan.html
About NGSSoftware
http://www.ngssoftware.com/
http://www.ngsconsulting.com/
Telephone +44 208 401 0070
Fax +44 208 401 0076
enquiries_at_ngssoftware.com
"NGSSoftware Insight Security Research" <nisr_at_nextgenss.com>
02/17/2003 02:15 PM
To: <bugtraq_at_securityfocus.com> cc: Subject: Oracle TZ_OFFSET Remote System Buffer Overrun (#NISR16022003c)
NGSSoftware Insight Security Research Advisory
Name: Oracle TZ_OFFSET Remote System Buffer Overrun
Systems Affected: All platforms; Oracle9i Database Release 2, 9i Release
1,
8i, 8.1.7, 8.0.6
Severity: High Risk
Category: Remote System Buffer Overrun
Vendor URL: http://www.oracle.com
Author: Mark Litchfield (mark_at_ngssoftware.com)
Date: 16th February 2003
Advisory number: #NISR16022003c
Description
SELECT TZ_OFFSET('US/Eastern') FROM DUAL;
would return the time zone offset value of -04:00. The TZ_OFFSET()
function
contains a remotely exploitable buffer overflow vulnerability.
Details
Fix Information
http://otn.oracle.com/deploy/security/pdf/2003alert50.pdf
A check for these issues has been added to NGSSQuirreL for Oracle, a comprehensive automated vulnerability assessment tool for Oracle Database Servers of which more information is available from the NGSSite
http://www.ngssoftware.com/software/squirrelfororacle.html
Further Information
http://www.ngssoftware.com/papers/non-stack-bo-windows.pdf http://www.ngssoftware.com/papers/ntbufferoverflow.html http://www.ngssoftware.com/papers/bufferoverflowpaper.rtf http://www.ngssoftware.com/papers/unicodebo.pdf
About NGSSoftware
http://www.ngssoftware.com/
http://www.ngsconsulting.com/
Telephone +44 208 401 0070
Fax +44 208 401 0076
enquiries_at_ngssoftware.com
"NGSSoftware Insight Security Research" <nisr_at_nextgenss.com>
02/17/2003 05:09 PM
To: <bugtraq_at_securityfocus.com>, <vulnwatch_at_vulnwatch.org>, <ntbugtraq_at_listserv.ntbugtraq.com>
cc: Subject: Oracle bfilename function buffer overflow vulnerability (#NISR16022003e)
NGSSoftware Insight Security Research Advisory
Name: ORACLE bfilename function buffer overflow vulnerability
Systems Affected: All platforms; Oracle9i Database Release 2, 9i Release
1,
8i, 8.1.7, 8.0.6
Severity: High Risk
Category: Remote System Buffer Overrun
Vendor URL: http://www.oracle.com
Author: David Litchfield (david_at_ngssoftware.com)
Date: 16th February 2003
Advisory number: #NISR16022003e
Description
Details
Fix Information
http://otn.oracle.com/deploy/security/pdf/2003alert50.pdf
A check for these issues has been added to NGSSQuirreL for Oracle, a comprehensive automated vulnerability assessment tool for Oracle Database Servers of which more information is available from the NGSSite
http://www.ngssoftware.com/software/squirrelfororacle.html
Further Information
http://www.ngssoftware.com/papers/non-stack-bo-windows.pdf http://www.ngssoftware.com/papers/ntbufferoverflow.html http://www.ngssoftware.com/papers/bufferoverflowpaper.rtf http://www.ngssoftware.com/papers/unicodebo.pdf
About NGSSoftware
http://www.ngssoftware.com/
http://www.ngsconsulting.com/
Telephone +44 208 401 0070
Fax +44 208 401 0076
enquiries_at_ngssoftware.com
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: INET: Jared.Still_at_radisys.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Feb 20 2003 - 16:01:04 CST