LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03:53 PM   #1
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
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, 03:55 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

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

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

Original Poster
Rep: Reputation: 39
thank you

-Joey
 
Old 07-12-2004, 04: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, 05:12 PM   #5
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

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


Reply



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 05:39 PM
Buffer Overflow pymehta Linux - Security 7 02-24-2004 01:19 PM
buffer overflow cxel91a Programming 3 08-14-2003 05:23 PM
Preventing buffer overflow with gets() JStew Programming 1 11-19-2002 11:03 AM
Q. What is a buffer overflow? auslew Linux - Security 2 11-08-2002 05:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:48 PM.

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
Open Source Consulting | Domain Registration