Alerts This Week
Warning Icon 1 700
Alerts This Week
Warning Icon 1 700

Stay Ahead With Linux Security News

Filter Icon Refine news
X Clear Filters
X Clear Filters
View More

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":547,"type":"x","order":1,"pct":78.48,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.3,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.88,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.34,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Loading...

Explore Latest Linux Security news

We found -2 articles for you...
77

CORE Advisory: 20020409 Critical Stack Protection Issues Explored

"Stack shielding" software have been developed on the promise of preventing exploitation of buffer overflow vulnerabilities that make use of the stack smashing techniques. We discovered that all of them present basic design limitations as well as some implementation flaws.. . . . "Stack shielding" software have been developed on the promise of preventing exploitation of buffer overflow vulnerabilities that make use of the stack smashing techniques. We discovered that all of them present basic design limitations as well as some implementation flaws. Date: Tue, 23 Apr 2002 19:44:51 -0300 From: "[iso-8859-1] Ivn Arce" To: BUGTRAQ@ Cc: core.lists.vulnwatch@corest.com Subject: CORE-20020409: Multiple vulnerabilities in stack smashing protection technologies CORE SECURITY TECHNOLOGIES Advisory Multiple vulnerabilities in stack smashing protection technologies Date Published: 2002-04-23 Last Update: 2002-04-23 Advisory ID: CORE-20020409 Bugtraq ID: Non-assigned yet CVE CAN: Non-assigned yet Title: Multiple vulnerabilities in stack smashing protection technologies. Class: Design limitation, Implementation flaw Remotely Exploitable: Yes Locally Exploitable: Yes Vendors contacted: 2002-04-15 - Immunix: Yes - Microsoft: Yes - Stack Smashing Protection (SSP) formerly ProPolice: Yes - StackShield: No, all attempts to notify the maintaners via email failed. No other contact information was found (the website has not been updated since January 8th, 2000). Release Mode: COORDINATED RELEASE Vulnerability Description: In the past years, several technologies (in the form of softwarepackages) have been developed to protect programs against exploitationof buffer overflow vulnerabilities. These technologies aim at detectingand preventing the execution of hostile code that takes advantage ofsoftware security vulnerabilities by overwriting a critical portionof a running program's memory known as the stack. The techniques used to exploit this type of vulnerabilities havebeendiscussed at length in the past years and, although they have been usedfor years in malicious code, notably the famous Robert T. Morris worm in1988 [1], were initially introduced to the security community at large inthepioneering articles "Smashing the stack for fun and profit" [2] writen byAleph1and "How to write buffer overflows" by Mudge.[3] Technologies to detect and prevent "stack smashing" exploit code werepresented thereafter, notably at the 1998 USENIX Security conference [4]. "Stack shielding" software have been developed on the promise of preventingexploitation of buffer overflow vulnerabilities that make use of the stacksmashing techniques. Several other techniques to exploit buffer overflows that DO NOT make useof stack overwriting or code execution on the stack have be presentedduring the past years. Techniques that exploit vulnerabilities by overwriting or otherwise abusingother memory portions of a running program are described in Solar Designer's"Getting around non-executable stack (and fix)" [5], "Advancedreturn-into-lib(c)exploits(PaX case study)" [6] and "w00w00 on Heap Overflows" [7]. However, for the purpose of this advisory we will focus on the stackprotectionmechanisms and claim the current technologies do not provide adecuateprotection: Stack shielding protections have been missunderstood, they only protect aparticular type of stack smashing exploitation, namely return addressoverwrites,NOT generic stack smashing attacks as they claim. This has been demostrated in the past, as in "Bypassing StackGuard AndStackShield" [8] and "Vulnerability in ImmuniX OS Security Alert:StackGuard1.21 Released" [9] We studied the three most visible "stack shielding" technologies: -Wirex StackGuard () and -StackShield ( (https://www.angelfire.com/sk/stackshield/download.html ) -Stack Smashing Protection (SSP, formerly ProPolice), from Hiroaki Etoh (https://www.ibm.com/us-en) As well as the recently introduced /GS stack protecting mechanismincorporated into Microsoft's Visual C++.NETas part of the Visual Studio.NETproduct family. Information about the feature and details on how it worksare availableat: https://www.bing.com/ We discovered that all of them present basic design limitations as well assome implementation flaws. Our conclusion is that although "stack shielding" technologies present avaluable mean to prevent execution of certain forms of malicious code, thosetechnologies should not be thought as a solution to the problem of bufferoverflowvulnerabilities in general and not even as a solution to some simple stacksmashingtechniques used to exploit those vulnerabilities. Stack shielding mechanims do not suffice to ameliorate the effects of badlywritten software and could give a false sense of security of devastatingeffects, if notconsidered as part of a general security strategy that includes securedesignmethodologies, secure programming practices, strict and well definedsecurity testingprocesses and the implementation of fixes and patches as well as the use ofad hoctechnologies to prevent exploitation of existing vulnerabilities, publicyknown or otherwise. Vulnerable Packages: StackShield up to, and including, v0.7-beta is vulnerable to #1, #3 and#4 StackGuard 1.2 and 2.0.1 (included in Immunix 7.0) is vulnerable to all the described methods. StackGuard 1.21 is not vulnerable to #2 Other StackGuard versions were not tested and are suspected to be vulnerable as well. Programs compiled with Microsoft Visual C++.NET /GS compiler switch are still exploitable by using techniques described in problem #1. Exploitation using #2, #3 and #4 is only possible if the attacker can guess or bruteforce the correct value of the "cookie", the existence ofheuristics for doing that are not in the scope of this advisory. SSP (ProPolice) is NOT vulnerable to any of the described exploitationmethods. Solution/Vendor Information/Workaround Wirex's Immunix StackGuard. Wirex offical response is: The upcoming next release of StackGuard,version 3.0 fixes problems #2, #3 and#4 by moving the terminator canary to a position between the frame pointer and all local variables. Problem #1 is not part of StackGuard's threat model, that is StackGuard is not designed to protect against exploitation before the vulnerable function exits. Microsoft Visual Studio.NET /GS Refer to Microsoft's white paper describing the design and implementation of the /GS switch: https://www.bing.com/ StackShield N/A ProPolice/SSP SSP is NOT vulnerable to any of the problems described. Credits: This vulnerabilities were discovered and researched by Gerardo Richartefrom CORE Security Technologies. Pionering work and ideas were introducedby Richarte and many others (see the references section) in variousinformationsecurity mailing lists and publications as far back as 1999.We wish to thank Crispin Cowan and Seth Arnold from Wirex (Immunix) fortheir quick response addressing this report. Technical Description - Exploit/Concept Code As stated previously, we have identified two basic design limitations inthe current stack smashing technologies: First, they only protect data located in memory "above" the firstsafeguarded address. Second, (and we think this is a more serious limitation) they only checkfor attacks after the called vulnerable function finishes, right beforereturning from it so exploitation is possible BEFORE exiting the vulnerable function. In addition to this, StackGuard and StackShield have an implementationflaw: They They protect the stack starting at the return address, leaving the savedframe pointer unprotected. In our study we found four different tricks to bypass stack smashingprotections, the first one is an extension of that described in thepreviously referedarticles and is a direct consecuence of design limitations. The other threeresult fromabusing frame pointer overwrites, and may be corrected introducing somechangesin the protection mechanisms. Control of function's arguments In [8] and [9] a method to exploit stack based buffer overflows onstackprotectedprograms is presented. In the example, a local pointer is used to write toarbitrarymemory locations within the program's memory space. This technique can beextendedto exploit the fact that in standard C compiled programs, function argumentsare locatedin the stack at "higher" addresses than the return address: lower addresses [ local variables ] [ saved frame pointer ] [ CANARY (0x000dff0a) ] [ return address ] [ function's arguments ] higher addresses Controlling functions arguments can effectively turn a stack protectedfunction into anexploitable program by turning the arguments into a"write-anything-anywhere" primitive.Once the attacker has the ability to "write anything, anywhere" it istrivial to bypass stack protection mechanisms. The following program will function as proof of concept code: gera@vaiolent:~src/sg/tests$ cat > sg1.c

Calendar 2 Nov 03, 2023 User Avatar LinuxSecurity.com Team Server Security
77

Red Hat: Enhanced Security Features in Latest Enterprise Linux Upgrade

Linux software maker Red Hat Inc. on Tuesday launched an upgrade of the enterprise version of its product, which includes better security. The latest version of Red Hat Enterprise Linux includes features that protect against stack, . . .. Linux software maker Red Hat Inc. on Tuesday launched an upgrade of the enterprise version of its product, which includes better security. The latest version of Red Hat Enterprise Linux includes features that protect against stack, buffer or function-pointer overflows, as well as other types of security exploits that rely on overwriting data structures in memory. In addition, the company has extended its "no-execute" technology to Intel x86, Intel EM64T and AMD64 processors. The NX technology restricts execution of program code in specific areas of memory, preventing many common buffer overflow security vulnerabilities, officials with the Raleigh, N.C., company said. Other enhancements in the upgrade include support for IBM Power5 servers, new driver support and miscellaneous bug fixes. The link for this article located at TechWeb News is no longer available. . IBM unveils a new version of its cloud platform, integrating advanced encryption techniques to safeguard against potential vulnerabilities.. Red Hat Enterprise Linux, Stack Protection, Buffer Management, Security Features. . LinuxSecurity.com Team

Calendar 2 Sep 08, 2004 User Avatar LinuxSecurity.com Team Server Security
78

EnGarde Linux: Comprehensive Security Award For Patching Excellence

EnGarde walked away with our Editor's Choice award thanks to the depth of its security strategy, which covers nearly all the bases. Everything from the low-level mechanisms (binary integrity checking and stack protection) to high-level usability issues (including an excellent patching interface) demonstrate the serious effort the Guardian Digital crew has invested in EnGarde. . . .. EnGarde walked away with our Editor's Choice award thanks to the depth of its security strategy, which covers nearly all the bases. Everything from the low-level mechanisms (binary integrity checking and stack protection) to high-level usability issues (including an excellent patching interface) demonstrate the serious effort the Guardian Digital crew has invested in EnGarde. ESL's Guardian Digital Secure Network provides a textbook example of an ideal patching interface--automatic notification, simplified downloading and straightforward descriptions are all included. We were up to current patch levels in a matter of minutes. EnGarde holds up well in the line of fire, escaping without a scratch on the ptrace vulnerability. In fact, the company was able to say in an advisory: "Please note that EnGarde Secure Linux does not ship with the 'newgrp' utility, nor does it ship with any other setuid/setgid executables, which can be used to exploit this bug. Thus, EnGarde Secure Linux is not vulnerable to the ptrace flaw." The link for this article located at Network Computing is no longer available. . EnGarde's Preferred Selection accolade underscores its all-encompassing safety framework and outstanding user-friendliness.. EnGarde Secure Linux, Security Mechanisms, Patching Interface, Vulnerability Management. . LinuxSecurity.com Team

Calendar 2 Jun 08, 2002 User Avatar LinuxSecurity.com Team Vendors/Products
News Add Esm H340

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":547,"type":"x","order":1,"pct":78.48,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.3,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.88,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.34,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Your message here