[UNIX] Sun Microsystems Solaris sysinfo() Kernel Memory Disclosure



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

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



Sun Microsystems Solaris sysinfo() Kernel Memory Disclosure
------------------------------------------------------------------------


SUMMARY

Solaris is "a UNIX operating system developed by Sun Microsystems". Local
exploitation of an integer overflow vulnerability in Sun Microsystems Inc.
Solaris allows attackers to read kernel memory from a non-privileged
userspace process.

DETAILS

Vulnerable Systems:
* Solaris 10

The vulnerability specifically exists due to an integer overflow in
/usr/src/uts/common/syscall/systeminfo.c. The vulnerable code is as
follows:

125 if (kstr != NULL) {
126 if ((strcnt = strlen(kstr)) >= count) {
127 getcnt = count - 1;
128 if (subyte(buf + count - 1, 0) < 0)
129 return (set_errno(EFAULT));
130 } else
131 getcnt = strcnt + 1;
132 if (copyout(kstr, buf, getcnt))
133 return (set_errno(EFAULT));
134 return (strcnt + 1);
135 }

If the variable count (which is a value provided by the user invoking the
function) is 0, the function will call the copyout function with a length
argument of -1. Because copyout interprets the length argument as an
unsigned integer, a large amount of data will be copied out to userspace,
well beyond the boundaries that are intended.

Vendor response:
Sun Alert ID 102343 addresses this issue and is available at:
<http://sunsolve.sun.com/search/document.do?assetkey=1-26-102343-1>
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102343-1

Disclosure Timeline:
12/15/2005 - Initial vendor notification
12/15/2005 - Initial vendor response
07/20/2006 - Coordinated public disclosure


ADDITIONAL INFORMATION

The information has been provided by
<mailto:idlabs-advisories@xxxxxxxxxxxxxxxxxx> iDEFENSE Labs Security
Advisories.
The original article can be found at:
<http://www.idefense.com/intelligence/vulnerabilities/display.php?id=410>
http://www.idefense.com/intelligence/vulnerabilities/display.php?id=410



========================================


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@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

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.



Relevant Pages

  • [EXPL] Solaris sysinfo Local Kernel Memory Disclosure (Exploit)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Solaris sysinfo Local Kernel Memory Disclosure ... who also exploited this vulnerability. ... size_t out, bufsize = BUFSIZE; ...
    (Securiteam)
  • [NEWS] CiscoWorks Internetwork Performance Monitor Command Execution Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Solaris and Microsoft Windows operating systems contains a vulnerability ... IPM version 2.6 for Solaris and Windows ...
    (Securiteam)
  • [UNIX] Solaris Runtime Linker Security Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... * Solaris 7 is not affected by this issue. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
    (Securiteam)
  • [UNIX] Sun Microsystems Solaris ACE_SETACL Integer Signedness DoS
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Sun Microsystems Solaris ACE_SETACL Integer Signedness DoS ... Exploitation of this vulnerability would most likely result in a DoS ...
    (Securiteam)
  • [NEWS] Oracle SQL Injection Possible Via CTXSYS.DRILOAD
    ... 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 SecuriTeam alerts list - Free, Accurate, Independent. ... Oracle Database Server through the abuse of parameters in the DRILOAD ... The vulnerability allows any valid database user to gain DBA rights over ...
    (Securiteam)