LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 07-12-2004, 04:53 PM   #1
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
What is a buffer overflow


Hi all,

This may seem dumb, but what is a buffer overflow, I know that it can allow unauthorized shell access but what is it?

-Joey
 
Old 07-12-2004, 04:55 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
http://www.linuxjournal.com/article.php?sid=6701 - a good, short explanation.

Last edited by XavierP; 07-12-2004 at 05:04 PM.
 
Old 07-12-2004, 05:05 PM   #3
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
thank you

-Joey
 
Old 07-12-2004, 05:30 PM   #4
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
A buffer overflow is when a program receives an input of some kind (ie. thrue internet, console etc.) that it is not expecting and can't handle. For example if I make a program which is expecting you to write 5 characters into the program, but instead writes 5000 chars my program might not handle it corretly so it perhaps continue to write the characters into memory on places it shouldn't touch (where, very simplified, another program might have its settings).

A simple search at google gave me this page. It's more info than I would have felt to write tonight =)
http://www.linuxjournal.com/article.php?sid=6701
 
Old 07-12-2004, 06:12 PM   #5
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
do a google for an article called...........
"smashing the stack for fun and profit"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer overflow and ip spoofing Ephracis Linux - Security 10 12-07-2004 06:39 PM
Buffer Overflow pymehta Linux - Security 7 02-24-2004 02:19 PM
buffer overflow cxel91a Programming 3 08-14-2003 06:23 PM
Preventing buffer overflow with gets() JStew Programming 1 11-19-2002 12:03 PM
Q. What is a buffer overflow? auslew Linux - Security 2 11-08-2002 06:36 AM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration