Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

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

Subject: [UNIX] Sun Microsystems Solaris sysinfo() Kernel Memory Disclosure
Date: 23 Jul 2006 15:41:19 +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

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@lists.idefense.com> 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@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. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] Sun Microsystems Solaris sysinfo() Kernel Memory Disclosure, SecuriTeam <=